|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a movie symbol within my scene that when finished I would like it to call the next frame in my scene. I am using flash mx 2004 and have no idea how to go about this.
I tried using gotoAndPlay("scene_name", frame#), but it didn't work. Any suggestions? Thanks in advance |
|
#2
|
||||
|
||||
|
From what I read, you want to be able to place a script at the end of your movie clip in Scene 1 and then jump to Scene 2 from that script? The following example will do that.
From the _root, add this script to a keyframe: Code:
function goto() {
gotoAndPlay("Scene 2", 1);
}
Then at the last keyframe inside your movie clip, add this script: Code:
_parent.goto(); If you just wanted to go to the next frame on the _root within the same scene, you could simply add this to the last frame inside your movie clip: Code:
_parent.gotoAndPlay("2");
Last edited by jmichels : February 9th, 2004 at 05:04 PM. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Moving to the next frame in a scene |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|