headJoint:IKJoint [read-only]
| Language Version: | ActionScript 3.0 |
| Product Version: | Flash CS4 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
The head joint of the bone. A joint, defined by the
IKJoint class, defines a connection between two bones.
Each bone can have a head joint and a tail joint. The
head joint is the joint that is closer to the root
joint of the armature.
Implementation public function get headJoint():IKJointSee also
Example The following example shows how to retrieve the
head joint of a bone named "firstBone", which is part
of an armature named "myArmature":
import fl.ik.*;
// Retrieve the bone named "firstBone"
var fBone:IKBone = myArmature.getBoneByName("firstBone");
// Retrieve that bone's headJoint
var headJnt:IKJoint = fBone.headJoint;
name:String| Language Version: | ActionScript 3.0 |
| Product Version: | Flash CS4 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
The name of the bone. The name of a bone
must be specified in the Flash authoring tool.
Implementation public function get name():String public function set name(value:String):void Example The following example shows that the name
of a bone is accessible through the name property.
The bone is part of an armature named "myArmature".
import fl.ik.*;
// Get bone named "firstBone"
var fBone:IKBone = myArmature.getBoneByName("firstBone");
// Trace bone's name
trace(fBone.name);
tailJoint:IKJoint [read-only]
| Language Version: | ActionScript 3.0 |
| Product Version: | Flash CS4 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
The tail joint of the bone. A joint, defined by the
IKJoint class, defines a connection between two bones.
Each bone can have a head joint and a tail joint. The
tail joint is the joint that is farther away from the root
joint of the armature than the head joint.
Implementation public function get tailJoint():IKJointSee also
Example The following example shows how to retrieve the
tail joint of a bone named "firstBone", which is part
of an armature named "myArmature":
import fl.ik.*;
// Retrieve the bone named "firstBone"
var fBone:IKBone = myArmature.getBoneByName("firstBone");
// Retrieve that bone's tailJoint
var tailJnt:IKJoint = fBone.tailJoint;