Package | com.desuade.partigen.controllers |
Class | public class EmitterTweenController |
Inheritance | EmitterTweenController ![]() ![]() |
Language Version : | ActionScript 3 |
Since : | 02.07.2009 |
Runtime Versions : | AIR 1.0, Flash Player 9.0.0 |
Method | Defined By | ||
---|---|---|---|
EmitterTweenController(target:Emitter, property:String, duration:Number, containerClass:Class = null, tweenClass:Class = null)
This creates an EmitterTweenController (which is basically a MotionController). | EmitterTweenController | ||
![]() | buildSequence(target:Object, property:String, duration:Number):ClassSequence
This creates the actual sequence object used to go through each tween. | MotionController | |
![]() | fromXML(xml:XML, useproperty:Boolean = true, useduration:Boolean = true):MotionController
Configures the MotionController from the XML object and sets the keyframes to the child KeyframeContainer XML and it's child Keyframes. | MotionController | |
![]() | rebuild():void
This rebuilds the internal sequence. | MotionController | |
![]() | setSingleTween(begin:*, beginSpread:* = 0, end:* = 0, endSpread:* = 0, ease:* = null, extras:Object = null):MotionController
This easily sets the 'begin' and 'end' keyframes of the controller to create a standard "one-shot" tween. | MotionController | |
![]() | setStartValue(keyframe:String = begin):void
This sets the initial start value of the target. | MotionController | |
![]() | start(keyframe:String = begin, startTime:Number = 0, rebuild:Boolean = false):*
Starts the controller. | MotionController | |
![]() | stop():void
This stops the controller, and all internal tweens associated to it. | MotionController | |
![]() | toXML():XML
Create an XML object that contains the MotionController config, KeyframeContainer, and all child Keyframes. | MotionController |
EmitterTweenController | () | Constructor |
public function EmitterTweenController(target:Emitter, property:String, duration:Number, containerClass:Class = null, tweenClass:Class = null)
This creates an EmitterTweenController (which is basically a MotionController). Using the addTween() method is recommended over calling this directly.
Parameterstarget:Emitter — The emitter to tween
| |
property:String — The property to control
| |
duration:Number — The entire duration for the controller. Since the emitter always exists, there must be a set duration.
| |
containerClass:Class (default = null ) — The class to use for Keyframes. Null will use the default.
| |
tweenClass:Class (default = null ) — The class to use for tweening on the controller. Null will use the default.
|