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:Sunday, 19 August 2007, 13:43:28
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 (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

destroy

function destroy () : Void

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.