7 Replies Latest reply on Apr 2, 2012 4:49 AM by Ned Murphy

    How do I get the playhead to move forward

    deborah@schmidtdesig

      Hello all - I have simple flash CS4 file (AS3) with a video playback component in a movie clip called "video". The only other thing in this flash movie is a script to load another SWF file as soon as the video is done playing.... I can't seem to figure out how to do this.

       

      If I use stop() on the frame with the video - it will play - but then the playhead will not move forward to the next frame which has the next script and if I leave the stop() off - it plays only a a few frames of the video and moves on to the next frame and executes the script that loads the swf file.

       

      Everything I've read requires a button event - and I don't need a button.  I just need the video to play - then the next script to execute.

       

      Here are the only scripts in the flash movie:

       

      ***************************** // in the frame containing video component

       

      stop()

       

      *********************************** // in the next frame after video component.

       

      stop();

      var myLoader:Loader = new Loader();                    

      var url:URLRequest = new URLRequest("section_6.swf");

      myLoader.load(url);                                    

      addChild(myLoader);

       

      ************************************

       

      Many thanks

      Deb