| Package | com.whirled.contrib.card.graphics |
| Class | public class TimerMovie |
| Inheritance | TimerMovie flash.display.Sprite |
| Property | Defined by | ||
|---|---|---|---|
| _duration : int | TimerMovie | ||
| _frameCount : int | TimerMovie | ||
| _lastTimer : int | TimerMovie | ||
| _movie : MovieClip | TimerMovie | ||
| _timer : Timer | TimerMovie | ||
| Method | Defined by | ||
|---|---|---|---|
|
TimerMovie(embedded:Class)
Creates a new movie.
| TimerMovie | ||
|
reset():void
Stop the movie and reset to frame 0
| TimerMovie | ||
|
start(duration:Number):void
Reset the movie to frame 0 and play, finishing in the given duration.
| TimerMovie | ||
|
stop():void
Stop the movie where it is and leave it.
| TimerMovie | ||
| Method | Defined by | ||
|---|---|---|---|
|
timerListener(event:TimerEvent):void
| TimerMovie | ||
| Constant | Defined by | ||
|---|---|---|---|
| INTERVAL : Number = 100 [static]
| TimerMovie | ||
| _duration | property |
protected var _duration:int
| _frameCount | property |
protected var _frameCount:int
| _lastTimer | property |
protected var _lastTimer:int
| _movie | property |
protected var _movie:MovieClip
| _timer | property |
protected var _timer:Timer
| TimerMovie | () | constructor |
public function TimerMovie(embedded:Class)Creates a new movie.
Parametersembedded:Class — class containing the movie |
| reset | () | method |
public function reset():voidStop the movie and reset to frame 0
| start | () | method |
public function start(duration:Number):voidReset the movie to frame 0 and play, finishing in the given duration.
Parametersduration:Number |
| stop | () | method |
public function stop():voidStop the movie where it is and leave it.
| timerListener | () | method |
protected function timerListener(event:TimerEvent):voidParameters
event:TimerEvent |
| INTERVAL | constant |
protected static const INTERVAL:Number = 100