Use this action to perform Actions only if a given Frame has been loaded. This can be useful when creating a preloader.
|
|
You can specify the Frame you want to test for in one of two ways: by Frame number within a Scene, or by Frame label.
Number
|
|
Select the Scene containing the Frame you want to go to. Enter the Frame number (starting from zero) in the 'Action' Panel. You can select the Scene directly by name, or use one of the five special Scene names:
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.
Scene
The Scene selection only appears when you select the 'Number' option (see above).
Not
If you tick the [x] Not checkbox option, then the actions will be carried out only if the frame is not already loaded. You can also use the Else action in the list of actions to perform to provide an alternative set of actions when the condition is not met.
In the example below, the SWiSH Movie is instructed to jump to Frame 0 of Scene 2, only when Frame 0 of Scene 2 has been downloaded.
Note: In this case, an If Frame Loaded Action is not strictly necessary, as the Goto Frame Action will not do anything if the Frame it is to go to is not yet loaded.
[Previous] [Main] [Next]