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

Seminar 8. Using Components in a Macrome... > Creating Your Own Component

Creating Your Own Component

As mentioned already, components are good for beginning Flash users and advanced users alike. Beginning users can add functionality that they might not be able to script themselves. Advanced users can capture ActionScript functionality that allows quick customization of variable values, and the components can then be used by a less skilled Flash developer. The components can also be used to create interface elements, such as radio buttons or pull-down menus. An added benefit of creating a component is the ability to customize the definition and interface of the component.

To create a component, you must first create a movie clip. In the Symbol-Editing Mode, create the ActionScript functionality you want attached to either an object or a frame of the movie clip symbol. With the symbol created, (Control-click)[right-click] the movie clip symbol in the library and select Component Definition from the shortcut menu to open the Component Definition dialog box (see Figure 8.9). Through this dialog box, you can create your component interface and functionality.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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