Access keys

StoppableMovieClip

Kind of class: class
Inherits from: ReversibleMovieClip < CoreMovieClip < MovieClip
Version: 02/17/07
Author: Aaron Clinger
Classpath: org.casaframework.movieclip.StoppableMovieClip
File last modified: Monday, 19 February 2007, 09:38:31
Gives the ability to dynamically place and change stop() actions on frames.
Since:
Flash Player 7
Example:
This will start playing a MovieClip at frame 5 and will stop once the MovieClip has reached frame 10:
this.stoppable_mc.addStopFrame(10);
Usage note:

Instance methods

addStopFrame

function addStopFrame (
frame:Number) : Boolean
Marks a frame which will trigger stop when playhead reaches it.
Parameters:
frame:
A number representing the frame number.
Returns:
Returns true frame was successfully added and unique; otherwise false.

destroy

function destroy (
) : Void

removeStopFrame

function removeStopFrame (
frame:Number) : Boolean
Removes frame number from triggering stop when playhead reaches.
Parameters:
frame:
A number representing the frame number.
Returns:
Returns true frame was found and removed; otherwise false.