Access keys

Stoppable

Kind of class: class
Inherits from: Reversible < CoreMovieClip < MovieClip
Version: 11/10/06
Author: Aaron Clinger
Classpath: org.casaframework.movieclip.Stoppable
File last modified: Monday, 08 January 2007, 09:57:51
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.