Package | fl.ik |
Class | public class IKArmature |
Inheritance | IKArmature ![]() |
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
springsEnabled
property.
Because armatures can be created only in the Flash authoring
tool, you should not use the IKArmature class's constructor to create
instances of this class. Flash Player creates all instances
of the IKArmature class when a SWF file starts running. You can create a
reference to an armature by using the getArmatureAt()
or the getArmatureByName()
methods
in the IKManager class.
Note: If an armature is not in the first frame of a scene,
use the registerElements()
method to initialize
the armature for a specific DisplayObject.
More examples
Related API Elements
Property | Defined By | ||
---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
container : DisplayObjectContainer [read-only]
Returns DisplayObjectContainer passed into call to registerElements. | IKArmature | ||
springsEnabled : Boolean
Specifies whether springs are enabled for an armature. | IKArmature |
Method | Defined By | ||
---|---|---|---|
![]() |
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 |
container | property |
container:DisplayObjectContainer
[read-only] Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Returns DisplayObjectContainer passed into call to registerElements.
Implementation
public function get container():DisplayObjectContainer
springsEnabled | property |
springsEnabled:Boolean
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10.1, AIR 1.5 |
Specifies whether springs are enabled for an armature. When this value is true, the armature can take advantage of the new dynamic physics engine, which adds spring and damping to animation. The default value is true.
myArmature:IKArmature = fl.ik.IKManager.getArmatureAt(0); myArmature.springsEnabled = true; // turns springs on
Implementation
public function get springsEnabled():Boolean
public function set springsEnabled(value:Boolean):void
Wed Nov 21 2018, 06:34 AM -08:00