StoppableMovieClip

Kind of class:class
Inherits from:ReversibleMovieClip < CoreMovieClip < MovieClip
Version:04/09/07
Author:Aaron Clinger
Classpath:org.casaframework.movieclip.StoppableMovieClip
File last modified:Sunday, 19 August 2007, 13:43:28
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:

Summary

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.