AQProperty
| Kind of class: | class |
|---|---|
| Inherits from: | none |
| Version: | 29 Jan 2006 |
| Author: | Arthur Clemens |
| Classpath: | playground.classes.util.actionqueue.AQProperty |
| File last modified: | Sunday, 29 January 2006, 22:04:36 |
Deprecated Over time this class will become unnecessary when all AQxxx classes will get a generic "change" method.
ActionQueue method to change an object's property over time.
Summary
Class methods
Class methods
change
static function change (
inObject:Object,
inProperty:String,
inDuration:Number,
inStartValue:Number,
inEndValue:Number,
inEffect:Function) : ActionQueuePerformData
Parameters:
inObject :
object to change; this may be a movieclip or any other object
inProperty :
name of property (in inObject) that will be affected; for instance "_x" for the x position of a movieclip
inDuration :
length of change in seconds
inStartValue:
the starting value of inProperty; if null the current object value will be used
inEndValue :
the end value of inProperty; if null the current object value will be used
inEffect :
(optional) An effect function, for instance one of the mx.transitions.easing methods. Arguments to pass the effect function may be appended as a comma-separated list.
Returns:
A new ActionQueuePerformData object.
Implementation note:
This method calls AQWorker#returnValue.