dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: controlling the playing of external swf in sprites

  1. #1
    Junior Member
    Join Date
    Feb 2003
    Posts
    29

    controlling the playing of external swf in sprites

    Hello,
    I'm trying to BEGIN loading an external audio swf at the end of my preloader into a sprite (audio) into level 1 (got to keep the dialup downloading you know - during the transition between my preloader and the main movie). My question is, how do I control WHEN it is played in the main movie? I know I've seen somewhere this type of control but can't place where it was.

  2. #2
    Flashkit historian Frets's Avatar
    Join Date
    Oct 2000
    Location
    flashkit
    Posts
    8,797
    depends on what your using to create your external movie

    for instance soundnails STREAMINGmysound.SWF just plays
    as soon as it loads
    ergo you would need to identify the sprite/level
    then tell target stop
    if you wanted it to cache the first frames of your streamed
    swf

    Most streamed swf's you can simply use tell target stop
    but there is know way if it's loaded or not.
    stop/play work like pause play with streamed swf's
    If you wanted to go back to the begining you'd prolly
    could get away with
    tell target "/sprite"
    gotoframe
    after the sprite is loaded.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center