
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Defining Components
|
413
5. To prevent the parameter’s Name from being changed by the component user,
select the Parameters are Locked in Instances checkbox.
6. In the Component Definition dialog box, click OK to finalize your parameter
settings.
Removing and reordering standard component parameters
Sometimes you’ll want to remove or rearrange your component’s parameters.
To remove a component parameter, follow these steps:
1. In the Library, select the component to modify.
2. Select Component Definition from the Library’s pop-up Options menu. (The
Component Definition dialog box appears.)
3. Select the parameter to remove.
4. Click the minus (–) button.
5. Click OK.
To rearrange component parameters, follow these steps:
1. In the Library, select the component to modify.
2. Select Component Definition from the Library’s pop-up Options menu.
3. Select the parameter to move.
4. Click the arrow buttons until the parameter is in the desired location.
5. Click OK.
Building a Component with a Customized Interface
To build a component with a customized interface, we first create a regular movie
clip whose behavior is governed by a series of component parameters as described in
the preceding section. Next, we create an independent .swf file (the so-called inter-
face swif) that will be used to set