play()
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
[object.]play()

Arguments
object: Sprite / Object that the play command applies to.

Returns
Nothing.

Description
Action and Sprite Method: Moves the playhead forward in the Timeline.

Sample
If new hi score, start the newhiscore Sprite to play.

if (score > hiscore) {
    newhiscore.play();
}


See Also
stop(), gotoAndPlay(), gotoAndStop(), gotoSceneAndPlay(), gotoSceneAndStop(), nextFrameAndPlay(), nextFrameAndStop(), prevFrameAndPlay(), prevFrameAndStop(), skipFrameAndPlay() and skipFrameAndStop().