ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
fl.motion 

AnimatorFactory3D  - AS3 Flash

Packagefl.motion
Classpublic class AnimatorFactory3D
InheritanceAnimatorFactory3D Inheritance AnimatorFactoryBase Inheritance Object

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 10, AIR 1.5, AIR 1.0

The AnimatorFactory3D class provides ActionScript-based support to associate one Motion object containing three-dimensional properties with multiple display objects. If the Motion does not contain three-dimensional properties, use the AnimatorFactory class.

Use the AnimatorFactory3D constructor to create an AnimatorFactory3D instance. Then, use the methods inherited from the AnimatorFactoryBase class to associate the desired properties with display objects.

Related API Elements



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedmotion : MotionBase
[read-only] The MotionBase instance that the AnimatorFactoryBase instance and its target objects are associated with.
AnimatorFactoryBase
 InheritedsceneName : String
[write-only] A reference for exported scenes, for 3D motion, so the scene can be loaded into a parent timeline.
AnimatorFactoryBase
 InheritedtransformationPoint : Point
[write-only] The point of reference for rotating or scaling a display object.
AnimatorFactoryBase
 InheritedtransformationPointZ : int
[write-only] The z-coordinate point of reference for rotating or scaling a display object.
AnimatorFactoryBase
Public Methods
 MethodDefined By
  
AnimatorFactory3D(motion:MotionBase, motionArray:Array = null)
Creates an AnimatorFactory3D instance you can use to assign the properties of a MotionBase object to display objects.
AnimatorFactory3D
 Inherited
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
 Inherited
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
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Constructor Detail

AnimatorFactory3D

()Constructor
public function AnimatorFactory3D(motion:MotionBase, motionArray:Array = null)

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 10, AIR 1.5, AIR 1.0

Creates an AnimatorFactory3D instance you can use to assign the properties of a MotionBase object to display objects.

Parameters
motion:MotionBase — The MotionBase object containing the desired three-dimensional motion properties. .
 
motionArray:Array (default = null)

Related API Elements