| Package | org.as3lib.kitchensync.action |
| Class | public class KSMovieClipController |
| Inheritance | KSMovieClipController KSFunction AbstractAction flash.events.EventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
![]() | autoDelete : Boolean
autoDelete is a flag that indicates whether the action should be killed
when it is done executing.
| AbstractAction | |
![]() | delay : int
delay is the time that will pass after the start() method is called
before the action begins.
| AbstractAction | |
![]() | duration : * | KSFunction | |
![]() | durationHasElapsed : Boolean
Checks to see whether the duration of the action has elapsed and if the _startTime is defined.
| AbstractAction | |
| frameIdentifier : * | KSMovieClipController | ||
![]() | func : Function
The function that will be called by the action.
| KSFunction | |
![]() | isInstantaneous : Boolean Returns true if the action will occur instantaneously when started
| AbstractAction | |
![]() | isPaused : Boolean
Will return true if the action is paused (after pause() has been called).
| AbstractAction | |
![]() | isRunning : Boolean
The human-readable name of this action.
| AbstractAction | |
![]() | offset : int
legacy accessors.
| AbstractAction | |
![]() | pauseTime : Timestamp
The time at which the action was last paused.
| AbstractAction | |
![]() | result : *
The result of the function (if the function generates one.
| KSFunction | |
![]() | startTime : Timestamp
The time at which the action was last started.
| AbstractAction | |
![]() | startTimeHasElapsed : Boolean
Checks to see whether the start time delay has elapsed and if the _startTime is defined.
| AbstractAction | |
![]() | sync : Boolean
Setting sync to true will cause the action to sync up with real time
even if framerate drops.
| AbstractAction | |
| target : MovieClip | KSMovieClipController | ||
![]() | timeStringParser : ITimeStringParser
[static]
The timeStringParser will determine how strings are parsed into valid
time values.
| AbstractAction | |
| Property | Defined by | ||
|---|---|---|---|
![]() | _args : Array
Arguments that will be passed into the function.
| KSFunction | |
![]() | _autoDelete : Boolean | AbstractAction | |
![]() | _delay : int = 0 | AbstractAction | |
![]() | _duration : int = 0 | AbstractAction | |
| _frameIdentifier : *
A frame identifier could be a string or a frame number to play
| KSMovieClipController | ||
![]() | _func : Function | KSFunction | |
![]() | _paused : Boolean = false | AbstractAction | |
![]() | _pauseTime : Timestamp | AbstractAction | |
![]() | _result : * | KSFunction | |
![]() | _running : Boolean = false | AbstractAction | |
![]() | _startTime : Timestamp | AbstractAction | |
![]() | _sync : Boolean | AbstractAction | |
| _target : MovieClip | KSMovieClipController | ||
| Method | Defined by | ||
|---|---|---|---|
|
KSMovieClipController(delay:*, target:MovieClip, frameIdentifier:*)
Constructor.
| KSMovieClipController | ||
![]() |
addEventTrigger(dispatcher:IEventDispatcher, eventType:String):void
Causes the action to start playing when a specified event is fired.
| AbstractAction | |
![]() |
addTrigger(trigger:IAction):void
Causes the action to start playing when another event completes.
| AbstractAction | |
| KSMovieClipController | |||
![]() |
invoke():*
Calls the function with the arguments specified.
| KSFunction | |
![]() |
kill():void
| KSFunction | |
![]() |
pause():void
Causes the action to be paused.
| AbstractAction | |
![]() |
register():void
Adds the action as a listener to the Synchronizer's update event.
| AbstractAction | |
![]() |
removeEventTrigger(dispatcher:IEventDispatcher, eventType:String):void
Removes an event trigger added by addEventTrigger().
| AbstractAction | |
![]() |
removeTrigger(trigger:IAction):void
Removes a trigger added with addTrigger().
| AbstractAction | |
![]() |
Starts the timer for this action.
| AbstractAction | |
![]() |
stop():void
Stops the action from running and resets the timer.
| AbstractAction | |
![]() |
unpause():void
Resumes the action at the point where it was paused.
| AbstractAction | |
![]() |
unregister():void
Removes the action as a listener to the Synchronizer's update event.
| AbstractAction | |
![]() |
Executes the function when the delay has elapsed.
| KSFunction | |
| _frameIdentifier | property |
protected var _frameIdentifier:*A frame identifier could be a string or a frame number to play
| frameIdentifier | property |
frameIdentifier:* [read-write]Implementation
public function get frameIdentifier():*
public function set frameIdentifier(value:*):void
| _target | property |
protected var _target:MovieClip
| target | property |
target:MovieClip [read-write]Implementation
public function get target():MovieClip
public function set target(value:MovieClip):void
| KSMovieClipController | () | constructor |
public function KSMovieClipController(delay:*, target:MovieClip, frameIdentifier:*)Constructor.
Parametersdelay:* — - the number of frames to delay the action
|
|
target:MovieClip — - the MovieClip whose frames you are going to
|
|
frameIdentifier:* — - a String or uint to go to
|
| clone | () | method |