Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Promotions
Estimated shipping
Tax
Calculated at checkout
Total
Review and Checkout
Adobe Developer Connection / Flash Developer Center / Graphic Effects Learning Guide /

Graphic Effects Learning Guide for Flash: Inverse kinematics

by Adobe

Adobe Flash Professional

Content

  • Working with the Bone tool
  • Applying physics effects
  • Manipulating armatures with ActionScript
  • Where to go from here

Modified

8 August 2011

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
animationFlash Professionalgraphic effectsinverse kinematics
Was this helpful?
Yes   No

By clicking Submit, you accept the Adobe Terms of Use.

 
Thanks for your feedback.

Requirements

Prerequisite knowledge

This guide assumes you are familiar with the Flash Professional workspace and have a basic knowledge of working with FLA files.

User level

Beginning

Required products

  • Flash Professional (Download trial)

Sample files

  • graphic-effects-lg_pt11.zip

The Bone tool in Adobe Flash Professional CS5 enables you to create armatures using inverse kinematics (IK), a method for creating graphics and animations where an object or groups of objects are articulated in relation to one another using bones. Bones connect parts of a drawing object or a collection of symbol instances in an armature structure that can be easily manipulated.

An armature creates coordinated movements within a chain of connected parts. The parts within the armature are defined as bones connected by joints. You can think of it like bones and joints in a skeleton allowing a person to move in a coordinated way. Affecting a joint causes connected joints to react in unison. You can adjust the attributes of the joints by constraining their movement and rotation—as well as their springiness.

Armatures can be constructed and posed in various movements. A pose is a keyframe on a pose layer defining the layout of the armature at that frame. You can create a single pose or combine poses to create animations. You can adjust the pose(s) using the Flash Timeline and the Bone tool or ActionScript at runtime.

Working with the Bone tool

The Bone Tool (M) can be used to create an armature in a drawing object or a collection of symbol instances. When applied to a drawing object, the armature creates sections of bones within the shape, allowing you to create more intricate transformations and shape tween animations. When applied to a collection of symbol instances, the armature makes it easy to create poses and pose generated animations (see Figure 1).

Figure 1. Wireframe character with an armature connected to the arm.
Figure 1. Wireframe character with an armature connected to the arm.

To create a simple armature:

  1. Create a new ActionScript 3 FLA file and name it ik.fla.
  2. Draw a shape on Frame 1 and convert it to a symbol (Modify > Convert to Symbol or F8).
  3. Duplicate the shape (Edit > Duplicate) two times and spread the instances out on the Stage about 50 pixels apart.
  4. Click the Bone tool in the Tools panel. Select the instance farthest to the left and drag the selection to the next instance to the right. Notice the bone-selection indicator that connects the two instances. The first object that you select is the root joint, from which all other joints in the armature stem. Connect all the instances with the Bone tool.
  5. Choose the Selection Tool (V) and click the instance farthest to the right, and then drag it around the screen. Notice how you can use the armature to position the collection of graphics at author-time.
  6. Click each joint in the armature and experiment with the constrain settings in the Properties panel. Drag the instances on the Stage with the Selection tool to see the difference in movement when joints are constrained.
  7. Select the keyframe in the Timeline containing the armature to show its frame properties in the Properties panel. Change the Type field from Authortime to Runtime under the Options section.
  8. Export the SWF file (Control > Test Movie) to see the armature animation at runtime. Drag the shapes around to see the effect.
  9. Save the file.

You can work with armatures with either the Authortime or Runtime setting. In Authortime mode, you can create tweened animations by creating pose frames on the armature layer.

For a detailed overview of animating with pose layers, read Character animation with the Bone tool in Flash by Chris Georgenes. Read the Bone tool section of the Flash glossary for more information, too.

Applying physics effects

Along with constraining the movement and rotation of the joints in an armature, you can apply two types of physics effects to your animation: easing and spring. Easing affects the speed of a pose animation by speeding up or slowing down over the course of a movement. For example, a character's upward leg swinging would naturally slow down as it reaches the top of the swing.

Control over the spring in a pose animation is new to Flash Professional CS5. Spring adds the element of springiness to movements. This effect can be used to create literal spring movements or more subtle effects, like impact on the armature.

For more information on working with the new spring physics engine, see Exploring the Spring tool in Flash Professional CS5 by Chris Georgenes.

Manipulating armatures with ActionScript

Armatures must be created at author-time in Flash Professional. Once an armature exists, it can be manipulated on the Timeline or at runtime using ActionScript. If you'd like to dynamically control armatures at runtime, start by creating the armatures in your FLA file and then manipulate them using ActionScript.

For more information on using ActionScript with inverse kinematics, see the Working with inverse kinematics section of the ActionScript 3 Developer's Guide. Also refer to the fl.ik package in the ActionScript 3 Reference for the Flash Platform.

Where to go from here

This section of the Graphics Effects Learning Guide provides an overview of working with inverse kinematics in Flash Professional. If you'd like more information about the basics of using IK in Flash, see the Inverse kinematics section of the Flash Professional online help.

Also check out the following demos on Adobe TV for working with inverse kinematics:

  • Using inverse kinematics (7:30)
  • Flash Downunder: Inverse kinematics (9:05)
  • Animating bones (2:41)
  • Using spring properties with IK bones (7:50)

Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License+Adobe Commercial Rights

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

More Like This

  • Graphic Effects Learning Guide for Flash: Blend modes
  • Graphic Effects Learning Guide for Flash: Text
  • Graphic Effects Learning Guide for Flash: Bitmaps
  • Graphic Effects Learning Guide for Flash: Overview
  • Graphic Effects Learning Guide for Flash: Vectors
  • Graphic Effects Learning Guide for Flash: Masks
  • Graphic Effects Learning Guide for Flash: Tiles and patterns
  • Graphic Effects Learning Guide for Flash: Color
  • Graphic Effects Learning Guide for Flash: Transformations
  • Graphic Effects Learning Guide for Flash: Filters

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement