igotdamaged
09-06-2003, 12:28 PM
I have a movie...
Frame 1 of the movie has a 'stop' command.
It also has a button, which when clicked advances the playhead to frame 2 of the movie.
Within frame 2, there is a movie clip which automatically begins playing once the frame is entered.
The movie clip plays as expected, but when it reaches the final frame, I want it to advance the movie onto scene 2
I have tried going to the final frame of the video clip, inserting a keyframe and adding:
gotoAndPlay("Scene 2", 1);
Unfortunately, when the playhead reaches this point it chooses to ignore this code and instead just keeps looping my movie clip.
I have set up Scene 2 already, so I would be able to tell if the movie was getting that far - it isn't.
I know that the playhead is reaching the final frame of the movie because if I insert a 'stop' command, the movie does just that!
Is there a special way of jumping to the next scene from within a movie clip?
Thank you very much for your time!
damaged
Frame 1 of the movie has a 'stop' command.
It also has a button, which when clicked advances the playhead to frame 2 of the movie.
Within frame 2, there is a movie clip which automatically begins playing once the frame is entered.
The movie clip plays as expected, but when it reaches the final frame, I want it to advance the movie onto scene 2
I have tried going to the final frame of the video clip, inserting a keyframe and adding:
gotoAndPlay("Scene 2", 1);
Unfortunately, when the playhead reaches this point it chooses to ignore this code and instead just keeps looping my movie clip.
I have set up Scene 2 already, so I would be able to tell if the movie was getting that far - it isn't.
I know that the playhead is reaching the final frame of the movie because if I insert a 'stop' command, the movie does just that!
Is there a special way of jumping to the next scene from within a movie clip?
Thank you very much for your time!
damaged