| Package | fl.motion |
| Class | public class AnimatorFactory |
| Inheritance | AnimatorFactory AnimatorFactoryBase Object |
| Language Version: | ActionScript 3.0 |
| Product Version: | Flash CS4 |
| Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Use the AnimatorFactory constructor to create an AnimatorFactory instance. Then, use the methods inherited from the AnimatorFactoryBase class to associate the desired properties with display objects.
See also
| Method | Defined By | ||
|---|---|---|---|
AnimatorFactory(motion:MotionBase)
Creates an AnimatorFactory instance you can use to assign the properties of
a MotionBase object to display objects. | AnimatorFactory | ||
![]() | 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):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 the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object | |
| AnimatorFactory | () | Constructor |
public function AnimatorFactory(motion:MotionBase)| Language Version: | ActionScript 3.0 |
| Product Version: | Flash CS4 |
| 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.
.
|
See also