Package | fl.motion |
Class | public class AnimatorFactoryUniversal |
Inheritance | AnimatorFactoryUniversal AnimatorFactoryBase Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Use the AnimatorFactoryUniversal constructor to create an AnimatorFactoryUniversal instance. Then, use the methods inherited from the AnimatorFactoryBase class to associate the desired properties with display objects.
Related API Elements
Public Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
Creates an AnimatorFactory instance you can use to assign the properties of
a MotionBase object to display objects. | AnimatorFactoryUniversal | ||
addTarget(target:DisplayObject, repeatCount:int = 0, autoPlay:Boolean = true, startFrame:int = -1, useCurrentFrame:Boolean = false):AnimatorBase
Creates and returns an AnimatorBase instance whose target property is set to the DisplayObject (if applicable)
that is the targetName property of the targetParent,
and whose Motion property is stored in the AnimatorFactoryBase instance upon creation. | AnimatorFactoryBase | ||
addTargetInfo(targetParent:DisplayObject, targetName:String, repeatCount:int = 0, autoPlay:Boolean = true, startFrame:int = -1, useCurrentFrame:Boolean = false, initialPosition:Array = null, zIndex:int = -1, placeholderName:String = null, instanceFactoryClass:Class = null):AnimatorBase
References the parent DisplayObjectContainer and then creates and returns an AnimatorBase
instance whose target property is set to the DisplayObject (if applicable)
that is the targetName property of the targetParent,
and whose Motion property is stored in the AnimatorFactoryBase instance upon creation. | AnimatorFactoryBase | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Constructor Detail
AnimatorFactoryUniversal | () | Constructor |
public function AnimatorFactoryUniversal(motion:MotionBase, motionArray:Array)
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Creates an AnimatorFactory instance you can use to assign the properties of a MotionBase object to display objects.
Parametersmotion:MotionBase — The MotionBase object containing the desired motion properties.
.
| |
motionArray:Array |
Related API Elements
Mon Nov 28 2011, 06:48 AM -08:00