If you are less experienced with writing ActionScript, you can add components to a document, set
their parameters in the Property inspector or Component inspector, and use the Behaviors panel
to handle their events. For example, you could attach a Go To Web Page behavior to a Button
component that opens a URL in a web browser when the button is clicked without writing any
ActionScript code.
If you are a programmer who wants to create more robust applications, you can create
components dynamically, use ActionScript to set properties and call methods at runtime, and use
the listener event model to handle events.
For more information, see
System requirements
Macromedia components do not have any system requirements in addition to Flash MX 2004 or
Flash MX Professional 2004.
Any SWF file that uses version 2 components must be viewed with Flash Player 6 (6.0.79.0) or
later.
About the documentation
This document explains the details of using components to develop Flash applications. It assumes
that you have general knowledge of Macromedia Flash and ActionScript. Specific documentation
about Flash and related products is available separately.
This document is available as a PDF file and as online help. To view the online help, start Flash
and select Help > Using Components.
For information about Macromedia Flash, see the following documents:
•
Getting Started with Flash (or Getting Started Help)
•
Using Flash (or Using Flash Help)
•
Using ActionScript in Flash (or Using ActionScript Help)
•
Flash ActionScript Language Reference (or Flash ActionScript Language Reference Help)
Typographical conventions
The following typographical conventions are used in this book:
•
Italic font indicates a value that should be replaced (for example, in a folder path).
•
indicates ActionScript code.
Code font
•
Code font italic
ActionScript parameter).
•
Bold font indicates a value that you enter.
Note: Bold font is not the same as the font used for run-in headings. Run-in heading font is used
as an alternative to a bullet.
8
Introduction: Getting Started with Components
Chapter 3, "Working with Components," on page
indicates a code item that should be replaced (for example, an
43.