PDA

View Full Version : // go to next frame on end clip


pure
06-19-2002, 02:11 PM
// how do i insert a command to go to the next frame in the flash timeline when the clip (mpeg) ends ?

// thanks in advance

// kindest

Flashants
06-21-2002, 04:35 AM
You may try this:

Frame 1:
fscommand ("fas.avclip.Load", "test.mpeg");
fscommand ("fas.event.EndOfStream", "/:EndOfStreamAction");
stop();

At Frame with label "EndOfStreamAction":
gotoandplay(2);

You may refer to the following faq for more information,
http://www.flashants.com/faq/faq.shtml#2_12