A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Control a loaded movie..?

  1. #1
    Junior Member
    Join Date
    Sep 2000
    Posts
    18
    This is probably easy, but not something I have tried before. The question is, how do I start a moive that was loaded on top of the main movie at a specific time.

    What I have is an audio.swf that is loaded up in the first frame of the main preloader. I have the first frame of the audio.swf as stop. How do I get the audio.swf to start playing when the main.swf has finsihed preloading? In other words, how do I control the audio.swf to jump to say frame 2?

    I have not loaded it after the preloader, because the audio.swf would also be preloading.

    Thanks for any help
    Philosoma
    [Edited by Philosoma on 09-11-2000 at 11:29 AM]

  2. #2
    Here is what you need to do. I will assume you have loaded audio.swf in to level2 for this example.

    Frame Action:
    Code:
    //This will tell Level 2 to go to frame 2 and play.
    _level2.gotoandplay(2);
    or you could do this:
    Code:
    //This will tell Level 2 to just play.
    _level2.play();

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