StoppableMovieClip
Kind of class: | class |
---|---|
Inherits from: | ReversibleMovieClip < CoreMovieClip < MovieClip |
Version: | 04/09/07 |
Author: | Aaron Clinger |
Classpath: | org.casalib.movieclip.StoppableMovieClip |
File last modified: | Monday, 01 December 2008, 13:34:40 |
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
Class methods
Class methods inherited from ReversibleMovieClip
Class methods inherited from CoreMovieClip
Instance methods
- addStopFrame (frame:Number) : Boolean
- Marks a frame which will trigger stop when playhead reaches it.
- removeStopFrame (frame:Number) : Boolean
- Removes frame number from triggering stop when playhead reaches.
- destroy : Void
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; otherwisefalse
.
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; otherwisefalse
.