Flash Professional CS5.
timeline.stopPlayback()
Nothing.
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.
The following example stops playback of the timeline.
fl.getDocumentDOM().getTimeline().stopPlayback();