beautypg.com

Timeline.stopplayback() – Adobe Extending Flash Professional CS5 User Manual

Page 518

background image

496

EXTENDING FLASH PROFESSIONAL

Timeline object

Last updated 5/2/2011

Description
Method; starts automatic playback of the timeline if it is currently playing. This method can be used with SWF panels
to control timeline playback in the authoring environment.

Example
The following example starts playback of the timeline.

fl.getDocumentDOM().getTimeline().startPlayback();

timeline.stopPlayback()

Availability
Flash Professional CS5.

Usage

timeline.stopPlayback()

Returns
Nothing.

Description
Method; stops automatic playback of the timeline if it is currently playing. This method can be used with SWF panels
to control timeline playback in the authoring environment.

Example
The following example stops playback of the timeline.

fl.getDocumentDOM().getTimeline().stopPlayback();

This manual is related to the following products: