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:
See ReversibleMovieClip.
Summary
Instance properties
Instance properties inherited from ReversibleMovieClip
Instance properties inherited from CoreMovieClip
Class methods
Class methods inherited from ReversibleMovieClip
Class methods inherited from CoreMovieClip
Instance methods
Instance methods inherited from ReversibleMovieClip
Instance methods inherited from CoreMovieClip
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.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.