ActionScript 3.0 Design Patterns

(Chris Devlin) #1

8 | Chapter 1: Object-Oriented Programming, Design Patterns, and ActionScript 3.0



  1. Select Insert➝New Symbol from the menu bar to open the Convert to Symbol
    Dialog box. EnterFireRocketin the Name window, select Movie clip as Type,
    and click the Export for ActionScript checkbox. Once you’ve clicked the check-
    box, Figure 1-3 shows what the dialog box looks like. Notice that the Base class
    isflash.display.MovieClip. The base class is the reference to the package
    required for ActionScript to display a MovieClip object. Click OK to enter the
    Symbol Edit Mode.


Figure 1-2. Rocket drawing


Figure 1-3. Setting a MovieClip class


Center point
Free download pdf