nextScene()

Availability

Flash 2.

Usage

nextScene()

Parameters

None.

Returns

Nothing.

Description

Function; sends the playhead to Frame 1 of the next scene and stops it.

Example

In this example, when a user releases the button, the playhead is sent to Frame 1 of the next scene.

on(release) {
  nextScene();
}

See also

prevScene()