O'Reilly logo

Sams Teach Yourself Adobe by Phillip Kerman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix C. ActionScript Primer

An interesting dilemma in this book is that, in parts, we had to use ActionScript but the book was not able to fully cover ActionScript. This appendix is a brief primer that can help shed some light on the concepts of ActionScript.

In Hour 15, “Basic Interactivity” you were introduced to placing ActionScript into the Actions panel. You learned that not only does Flash interpret and execute each line of code sequentially, but when code is placed in later frames, the code is not executed until that frame is reached. In addition, you saw how to use addEventListener() to broadcast events from one object (say the CLICK event from a button) to trigger code inside a custom function.

But the text was also peppered with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required