Converting animations to ActionScript code


show more Converting animations to ActionScript code provides you with in-depth training on 3D + Animation. Taught by Todd Perkins as part of the Flash CS4 Professional Tools for Character Animation show less
please wait ...

Converting animations to ActionScript code

In Flash CS4 you can copy motion tween data as ActionScript 3.0 code. The reason why that is useful is because it allows you to apply animations to multiple objects while the Flash movie is playing. In this movie we'll take a look at how to do that and before we start I just want you to be aware that this is really going to be of most use to people who already know and work with ActionScript code. If you are following along go ahead and open up ActionScript_Animation.fla in the Chapter 01 folder. If you don't have the exercise files just create a motion tween on the Stage. So what I am going to do is right-click or Ctrl-click my motion tween and then I'll choose Copy Motion As ActionScript 3.0. Now the ActionScript 3.0 code is in the pasteboard so what I am going to do is create a new layer, I am going to name the new layer actions, I am going to select the first frame of the actions layer and open up the Actions panel by choosing Window > Actions.

In the Actions panel I a...

Converting animations to ActionScript code
Video duration: 3m 21s 1h 57m Intermediate

Viewers:

Converting animations to ActionScript code provides you with in-depth training on 3D + Animation. Taught by Todd Perkins as part of the Flash CS4 Professional Tools for Character Animation

Subjects:
3D + Animation Web
Software:
Flash Professional
Author:
please wait ...