• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. Using Components > Foundation Skills

Foundation Skills

This section moves from the ground level up through all the standard ways to use components. Basically, the process is you populate them, associate them so that they can trigger your code, and optionally customize their look. For a simple example, consider a button. You’ll want to populate its label (so that it reads Click Me, for example), you’ll want to link it to your code so that something happens when the user clicks it, and you might even want to change the typeface or highlight the color. You’ll learn all of this.

Populating Manually

The basic idea of a component is that it’s a movie clip containing code and graphics. With any movie clip, you can set individual properties for each instance onstage through the Properties panel. When the instance is a component, the Properties panel includes an additional tab called Parameters (see Figure 12.1).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint