MACROMEDIA FIREWORKS 8-EXTENDING FIREWORKS Specifications Page 24

  • Download
  • Add to my manuals
  • Print
  • Page
    / 35
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 23
212
CHAPTER 11
In this section, we’ll first show you how to use ActionScript 3 in Flash to author custom panels, and
then introduce you to Flex panel authoring.
Creating ActionScript 3 panels in Flash
The concepts we’ve covered so far are all still valid when creating ActionScript 3–based panels. There
are just a few things that we have to do differently to ensure communication between the SWF and
Fireworks. When authoring ActionScript 3 panels, start by specifying a document class for the FLA.
Figure 11-13 shows the class DrawRect specified as our document class in Flash.
Figure 11‑13. Specifying a document class using the Flash
Property inspector
Now create a Draw Rect.as file and save it in the same folder as Draw Rect.fla. We’ve re- created
the original Draw Rect layout in a new ActionScript 3 file and added the
actions layer as we did earlier.
Page view 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 34 35

Comments to this Manuals

No comments