FLASH CS3
User Guide
346
4
Place an instance of the symbol in the desired location on the Stage. In the Property inspector, type the name of
the movie clip instance, such as DragA, in the Instance Name box.
5
In the Component inspector for the interaction, enter the same instance name (such as DragA) of the movie clip
in the appropriate Name box. The Component inspector should include only the unique instance names of the movie
clips that you’re using for the current interaction.
6
Repeat steps 3 to 5 for additional graphical objects in the interaction.
Note:
Use Flash user interface components to create the graphics for navigation buttons and for True Or False and
Multiple Choice interactions. Only intermediate and advanced users should change these graphics. You can also resize
and slightly modify the appearance of these graphics. For more information, see “Customizing Components” in Using
Components.
Changing buttons, check boxes, and radio buttons
The learning interactions use the Flash user interface (UI) Button, CheckBox, RadioButton and TextInput compo-
nents. You must use these UI components in the learning interaction movie clips. The learning interaction scripts
use the internal features of the UI components to function properly.
The quiz templates already contain all the necessary UI components for each interaction. To use UI components in
Flash MX or later documents, publish the SWF file using ActionScript 2.0.
Sizing
To scale the Button components used for the Control button, Reset button, and CheckBox, RadioButton, and
TextInput components, select the component and change its settings in the Property inspector.
UI component graphics
There is a defined process for changing the skin of a component. For more information, see “Editing component
skins in a document” in
Using Components
.
UI component text
To change the text characteristics of a UI component, use the
GlobalStyleSheet
object. See “Customizing Compo-
nents” in
Using Components
.
See also
“Set control button labels for a learning interaction” on page 345
Using components in a learning interaction
To use Flash UI components with a learning interaction, you add the UI components to the interaction assets and
name their instances. You then register the instance names with the component associated with that interaction.
Each learning interaction already contains the appropriate UI components as named instances.
For complete documentation on the UI components, see
Using Components
.
Note:
UI components have an associated Component inspector. The learning interaction scripts override the UI
Component inspector at runtime. You do not need to fill out individual parameters for each Button, CheckBox,
RadioButton or TextInput component.