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

Chapter 7. Using Components > Creating Components

Creating Components

Let's create a page full of components. We'll do this first in the Flash application, and then using only ActionScript.

1.
Start by opening up a brand new movie in Flash (File New).

2.
Open the Components Panel and drag the check box component to your movie.

3.
Open the Properties Panel. It should look something like Figure 7-3.

Figure 7-3. Check box and properties


4.
On the “Label” line, click on the “Check Box” text and replace it with “Please send me spam.”

5.
Click twice on “false” on the “Initial Value” line. This sets whether the box is checked or not when the movie starts. Choose “true” from the little menu that appears.

6.
Click twice on the “right” on the LabelPlacement line, and choose “left” from the little menu that appears.

7.
Your screen should now look something like Figure 7-4.

Figure 7-4. Altered check box


8.
Test the movie. You can check and uncheck the little box, but that's about it.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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