AQAddMove
Kind of class: | public class |
---|---|
Package: | |
Inherits from: |
|
Classpath: | org.asaplibrary.util.actionqueue.AQAddMove |
File last modified: | Wednesday, 11 May 2011, 18:51:43 |
Action method that controls the relative position of a DisplayObject.
Lets a DisplayObject move a specified number of pixels added to its current location, without specifying its end location.
Summary
Instance methods
- addMove (inDO:DisplayObject, inDuration:Number, inAddX:Number, inAddY:Number, inEffect:Function = null) : Function
Instance methods
addMove
function addMove(inDO:DisplayObject,
inDuration:Number,
inAddX:Number,
inAddY:Number,
inEffect:Function = null) : Function
Parameters
inDO :DisplayObject to move
inDuration:length of change in seconds; 0 is used for perpetual animations - use -1 for instant change
inAddX :the horizontal distance in pixels to move the DisplayObject
inAddX :the vertical distance in pixels to move the DisplayObject
inEffect :(optional) an effect function, for instance one of the fl.transitions.easing methods
Returns
- A reference to initAddMove that in turn returns the performing move TimedAction.