nextSceneAndStop() +
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
nextSceneAndStop()

Arguments
None.

Returns
Nothing.

Description
Action: Sends the playhead to the next Scene and stops at the first Frame.

Sample
onFrame (10
{
    nextSceneAndStop(); // identical to gotoSceneAndStop("<next scene>", 1);
}


Flash MX Differences
This function is implemented in MX as prevScene().

See Also
Scene-based Movie Control
gotoSceneAndPlay(), gotoSceneAndStop(), nextSceneAndPlay(), prevSceneAndPlay() and prevSceneAndStop().

Frame-based Movie Control
play(), stop(), gotoAndPlay(), gotoAndStop(), nextFrameAndPlay(), nextFrameAndStop(), prevFrameAndPlay(), prevFrameAndStop(), skipFrameAndPlay() and skipFrameAndStop().