ReversibleMovieClip
| Kind of class: | class |
|---|---|
| Inherits from: | CoreMovieClip < MovieClip |
| Known subclasses: | |
| Version: | 04/09/07 |
| Author: | Aaron Clinger |
| Classpath: | org.casaframework.movieclip.ReversibleMovieClip |
| File last modified: | Monday, 09 April 2007, 10:04:17 |
Extends MovieClip to provide additional timeline controlling functions: playBackwards and gotoAndPlayBackwards.
Since:
Flash Player 7
Example:
this.backwards_mc.gotoAndPlayBackwards("frameLabel");Usage note:
When calling timeline contolling functions (
This way the class' methods will handle the call instead of the global function equivalent.
stop, gotoAndStop, play and gotoAndPlay) from inside a MovieClip extended by ReversibleMovieClip ALWAYS prefix with this. Example:this.stop();This way the class' methods will handle the call instead of the global function equivalent.
Summary
Instance properties
Instance properties inherited from CoreMovieClip
Class methods
Class methods inherited from CoreMovieClip
Instance methods
Instance methods inherited from CoreMovieClip
Instance methods
gotoAndPlayBackwards
function gotoAndPlayBackwards (
frame:Object) : Void
Sends the playhead to the specified frame on the Timeline and plays in reverse from that frame.
Parameters:
frame:
A number representing the frame number, or a string representing the label of the frame, to which the playhead is sent.
isPlayingBackwards
function isPlayingBackwards (
) : Boolean
Returns if the MovieClip is or isn't playing in reverse.
Returns:
Returns
true if the MovieClip is currently playing in reverse; otherwise false.playBackwards
function playBackwards (
) : Void
Plays the Timeline in reverse from current playhead position.