Step 4:  ActionScript 3.0 in Flash CS3


In order to add interactivity in Flash CS3 we need to learn a bit of ActionScript which is Flash's scripting language. With Flash CS3, Adobe has released ActionScript 3.0 which works a bit differently from ActionScript 2.0. This can be quite frustrating for the average designer who could easily add in some basic funtionality without knowing any ActionScript in previous versions of Flash. ActionScript 2.0 capabilities are also available in Flash CS3, however here are some of the basic ActionScript 3.0 code required for providing basic interactivity using ActionScript 3.0.
Now we are ready to incorporate some interactivity. When the viewer clicks on the logo it should go to the website http://www.vineyardesigns.com/. When the viewer clicks on buttons at the top, the respective frame with the relevant content should be displayed.
Stop Code for ActionScript 3.0
If you play the flash movie you will see that it animates all the frames. We want it to stay on frame 1 till something is clicked. For this:

Next: Step 5: URL Link in Flash CS3 (ActionScript 3.0)