Package | com.desuade.partigen.controllers |
Class | public dynamic class EmitterPhysicsController |
Inheritance | EmitterPhysicsController ![]() ![]() ![]() |
Language Version : | ActionScript 3 |
Since : | 02.07.2009 |
Runtime Versions : | AIR 1.0, Flash Player 9.0.0 |
Method | Defined By | ||
---|---|---|---|
EmitterPhysicsController(target:Emitter, property:String, duration:Number, containerClass:Class = null, tweenClass:Class = null)
This creates an EmitterPhysicsController (which is basically a PhysicsMultiController). | EmitterPhysicsController | ||
![]() | addController(property:String, containerClass:Class = null):MotionController
Creates a new child controller for the given property
| MultiController | |
![]() | addKeyframes(position:Number, keyframes:Object, label:String = null):void
Adds a keyframe with the same label across all controllers at the same position. | MultiController | |
![]() | fromXML(xml:XML, usealldurations:Boolean = true):MultiController
Configures the MultiController and creates all child MotionControllers. | MultiController | |
![]() | setKeyframes(keyframe:String, properties:Object):void
This lets you configure a specific keyframe for each controller at once. | MultiController | |
![]() | start(keyframe:String = begin, startTime:Number = 0, rebuild:Boolean = false):* [override]
This starts all child MotionControllers at once. | PhysicsMultiController | |
![]() | stop():void
This stops all child MotionControllers at once
| MultiController | |
![]() | toXML():XML
This creates an XML object representing the MultiController and it's child MotionControllers. | MultiController |
EmitterPhysicsController | () | Constructor |
public function EmitterPhysicsController(target:Emitter, property:String, duration:Number, containerClass:Class = null, tweenClass:Class = null)
This creates an EmitterPhysicsController (which is basically a PhysicsMultiController). Using the addPhysics() 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.
|