In this chapter, you'll use several Macromedia Flash (FLA) files and ActionScript class files to
learn how to add components to a document and set their properties. This chapter also explains a
few advanced topics such as using code hints, creating custom focus navigation, managing
component depth, and upgrading version 1 components to version 2 architecture.
The files used in this chapter are TipCalulator.fla and TipCalculator.swf. The files are installed in
the following locations on your hard disk:
•
(Windows) Program Files/Flash MX 2004/Samples/HelpExamples/TipCalculator
•
(Macintosh) Applications/Flash MX 2004/Samples/HelpExamples/TipCalculator
This chapter covers the following topics:
The Components panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Sizing components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Using code hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
About loading components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Working with Components
CHAPTER 3
52s
43
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?