Package | com.desuade.motion.controllers |
Class | public dynamic class ColorKeyframeContainer |
Inheritance | ColorKeyframeContainer ![]() ![]() |
Language Version : | ActionScript 3 |
Since : | 02.07.2009 |
Runtime Versions : | AIR 1.0, Flash Player 9.0.0 |
Method | Defined By | ||
---|---|---|---|
ColorKeyframeContainer(tweenClass:Class = null)
Creates a new ColorKeyframeContainer. | ColorKeyframeContainer | ||
![]() |
Adds a keyframe to the container. | KeyframeContainer | |
![]() | empty():Object
Removes all keyframes between the begin and end keyframes from the container. | KeyframeContainer | |
![]() | flatten(value:*, extras:Object = null):void
This "flattens" the container to the given value, setting all the 'value' and 'extra' properties in each keyframe to the same value, essentially removing any tweens.
Note: this always happen: the ease property becomes 'linear' and the spread becomes '0'.
| KeyframeContainer | |
![]() | fromXML(xml:XML):KeyframeContainer
Configures the KeyframeContainer based on the values in the XML and creates child Keyframes. | KeyframeContainer | |
![]() | getOrderedLabels():Array
Creates an Array with all of the labels of the keyframes, from begin to end
| KeyframeContainer | |
![]() | isFlat():Boolean
Determines if the KeyframeContainer is flat. | KeyframeContainer | |
![]() | toLabeledArray(sort:Boolean = false):Array
Creates an unsorted Array of all the objects in the KeyframeContainer
| KeyframeContainer | |
![]() | toXML():XML
This creates an XML object that represents a KeyframeContainer and all it's Keyframes. | KeyframeContainer |
ColorKeyframeContainer | () | Constructor |
public function ColorKeyframeContainer(tweenClass:Class = null)
Creates a new ColorKeyframeContainer. This is the core of a MotionController, as it holds, configures, and manages all keyframes, and generates the tween objects.
This works the same as a regular KeyframeContainer, except it's internals are specific for color-tweening.
This can be created independently of a controller and shared among multiple ones.
ParameterstweenClass:Class (default = null ) — The class of tweening engine to use for color. Null will use the default colorTweenClass from the MotionController static class.
|