Use this Action to go to another Frame. The Frame can be in the same Scene or another Scene.
When you use the Goto Frame Action with a Frame Event, the Goto Frame happens before the Frame containing the Action is displayed.
Note: A Goto Frame Action will have no effect until the Frame it is to go to is loaded
You can use the Tell Target Action to tell another Sprite, or the main Movie, to go to another Frame.
You can specify the Frame you want to go to in one of four different ways:
·
by Frame number within a Scene
·
by Frame label
·
the following Frame
·
the previous Frame.
Number
Select the Scene containing the Frame you want to go to. Enter the Frame number (starting from zero) in the 'Actions' Panel. You can select the Scene directly by name, or use one of the five special Scene names:
·
_THIS_SCENE_
·
_FIRST_SCENE_
·
_LAST_SCENE_
·
_PREV_SCENE_
·
_NEXT_SCENE_.
Label
Select the label of the Frame you want to go to. The frame can be anywhere in the current Movie or Sprite. You do not need to select the Scene containing the labeled Frame. See the Set Label Action.
Next
The current Frame is skipped and the following Frame is displayed.
Prev.
The current Frame is skipped and the previous Frame is displayed.
Scene
The Scene selection only appears when you select the Number option (see above). If the Goto Frame Action is targetting a sprite, then you cannot select a scene, as sprites do not have scenes within them.
Play When the Play function is turned on (the default setting), the Movie or Sprite will continue playing from the Frame you specify. If turned off, the Movie or Sprite will display the Frame you specify and then stop.
In the example below, the Movie will jump to Frame 22 of Scene "Scene 1" when the mouse button is pressed inside the current object. The Movie will keep playing from that Frame after the jump.