Chapter Eleven. Using Components with ActionScript 3.0

As you work with Flash, you’ll probably want to use symbols and scripts similar to ones you’ve used before. In those cases, it makes sense to recycle the older elements rather than re-creating them from scratch.

Flash takes that principle a step further: It provides ready-made, prescripted symbols called components that you can use in any movie. You can find them in the Components panel (Window > Components).

The ActionScript inside these components is thorough and robust, so you can depend on them to work properly. In addition, the ActionScript is already compiled, or translated into the “machine language” that computers understand. The downside is that you can’t edit or view the components’ ...

Get Adobe Flash CS3 Professional How-Tos: 100 Essential Techniques now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.