Access keys

Reversible

Kind of class: class
Inherits from: CoreMovieClip < MovieClip
Known subclasses:
Version: 11/10/06
Author: Aaron Clinger
Classpath: org.casaframework.movieclip.Reversible
File last modified: Wednesday, 24 January 2007, 21:45:39
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 Reverse 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

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.