O'Reilly logo

Adobe Flash CS4 Professional How-Tos: 100 Essential Techniques by Mark Schaeffer

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

Chapter TwelveUsing Components

If you use Flash frequently, there may be symbols that you’ve found yourself using over and over—a button, for example. There’s no point in recreating the symbol and its accompanying ActionScript if you can reuse a symbol and script that you’ve already made.

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 every situation. In addition, because the ActionScript has been compiled (see #83), the scripts run much faster and make fewer demands ...

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