Name

MovieClip.play( ) Method — begin the sequential display of frames in a clip or movie

Availability

Method form introduced in Flash 5 (global form supported by Flash 2 and later)

Synopsis

mc.play( )

Description

The MovieClip.play( ) method is an alternative to the global play( ) function. Use the method form to control remote movie clips or main movies specified by mc.

For general usage instructions, see the global play( ) function.

Example

// Begin playing clip intro
intro.play( );

See Also

MovieClip.stop( ), play( )

Get ActionScript: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.