Access keys

AQProperty

Kind of class: class
Inherits from: none
Author: Arthur Clemens
Classpath: org.asapframework.util.actionqueue.AQProperty
File last modified: Thursday, 12 October 2006, 11:10:39
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; 0 is used for perpetual animations - use -1 for instant change
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.