| Package | org.as3lib.kitchensync.action |
| Class | public class KSSetProperty |
| Inheritance | KSSetProperty |
| Method | Defined by | ||
|---|---|---|---|
|
KSSetProperty(target:Object, key:String, value:*, delay:* = 0)
| KSSetProperty | ||
![]() |
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 | |
![]() | KSFunction | ||
![]() |
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 | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
complete():void
Call this when the action has completed.
| AbstractAction | |
![]() |
forceUpdate():void
Foreces the update() method to fire without being triggered by Synchronizer.
| AbstractAction | |
![]() |
onTrigger(event:Event):void
Handler that starts playing the action that is called by a trigger event.
| AbstractAction | |
|
setProperty(target:Object, key:String, value:*):void
This is the function that will be called to set the property.
| KSSetProperty | ||
| KSSetProperty | () | constructor |
public function KSSetProperty(target:Object, key:String, value:*, delay:* = 0)Parameters
target:Object — - The object whose property you want to modify.
|
|
key:String — - The name of the property to modify.
|
|
value:* — - The new value of the property.
|
|
delay:* (default = 0) — - The delay before the action executes.
|
| setProperty | () | method |
protected function setProperty(target:Object, key:String, value:*):voidThis is the function that will be called to set the property.
Parameterstarget:Object |
|
key:String |
|
value:* |