Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 7

Changing the Path of the Motion . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Swapping Tween Targets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Creating Nested Animations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 Using the Motion Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Easing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 Animating 3D Motion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 Testing Your Movie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 5 artICuLateD mOtIOn anD mOrphInG 158 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 Articulated Motion with Inverse Kinematics . . . . . . . . . . . . . . . . 161 Constraining Joints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 Inverse Kinematics with Shapes . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 Armature Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 Morphing with Shape Tweens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 Using Shape Hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 Simulating Physics with Inverse Kinematics . . . . . . . . . . . . . . . . 196 6 CreatInG InteraCtIVe naVIGatIOn 204 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 About Interactive Movies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 Creating Buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 Understanding ActionScript 3.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 Preparing the Timeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 Adding a Stop Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 Creating Event Handlers for Buttons . . . . . . . . . . . . . . . . . . . . . . . 222 Creating Destination Keyframes . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 Creating a Home Button with Code Snippets . . . . . . . . . . . . . . 230 Code Snippets Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 Playing Animation at the Destination . . . . . . . . . . . . . . . . . . . . . . 237 Animated Buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 7 usInG text 246 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 Understanding TLF Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249 Adding Simple Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252 Adding Multiple Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 vi Contents