ReversibleMovieClip

Kind of class:public class
Package:org.casalib.display
Inherits from:CasaMovieClip < MovieClip
Version:12/15/08
Author:Aaron Clinger
Classpath:org.casalib.display.ReversibleMovieClip
File last modified:Wednesday, 31 December 2008, 20:18:28
Provides additional timeline controlling functions: reverse and gotoAndReverse.

Summary


Instance properties
  • reversing : Boolean
    • Determines if the MovieClip is currently reversing true, or is stopped or playing false.
Instance properties inherited from CasaMovieClip
Instance methods
  • reverse : void
    • Plays the timeline in reverse from current playhead position.
  • gotoAndReverse (frame:Object) : void
    • Sends the playhead to the specified frame on and reverses from that frame.
  • destroy : void

Constructor

ReversibleMovieClip

public function ReversibleMovieClip (
)

Creates a new ReversibleMovieClip.

Instance properties

reversing

public reversing:Boolean
(read)

Determines if the MovieClip is currently reversing true, or is stopped or playing false.

Instance methods

destroy

override public function destroy (
) : void

gotoAndReverse

public function gotoAndReverse (
frame:Object) : void

Sends the playhead to the specified frame on and reverses 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.

reverse

public function reverse (
) : void

Plays the timeline in reverse from current playhead position.