MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 408

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

Text fields can share the same instance names across multiple interactions.
After you name the assets on the Stage, it's important to register those names in the Component
inspector for the learning interaction so that the scripts can control the assets.
About naming Learning Interaction component instances
Every interaction has an interaction component associated with it to configure its unique
parameters. These components do not need to be named.
Naming UI components (RadioButton, CheckBox, Button, and TextInput)
When you use similar interaction types, you need to give each UI component a unique name. For
example, if you create two Multiple Choice interactions, the second interaction requires unique
instance names for the CheckBox and the Button components. These new instance names need
to be registered in the Component inspector for the learning interaction.
To name a UI component:
Select the UI component instance on the Stage.
1.
In the Property inspector, type a name in the Instance Name text box.
2.
Register the name in the Component inspector for the interaction (see
3.
text fields and UI components" on page
Naming dynamic text fields
If you have more than one of any type of learning interaction in a quiz—for example, if you have
two Drag and Drop learning interactions—the objects in each learning interaction must have
unique names. These new unique instance names need to be registered in the Compoonent
inspectorfor the learning interaction. See
on page
408.
To name a dynamic text field:
Select the dynamic text field on the Stage.
1.
In the Property inspector, type a name in the Instance Name text box.
2.
Note: Make sure to enter the instance name—not the variable name—in the Property inspector.
Register the name in the Component inspector (see the next section).
3.
Registering dynamic text fields and UI components
After you enter the instance name for a dynamic text field or Button component in the Property
inspector, you need to register the instance in the Component inspector for the interaction.
To register dynamic text fields and Button components:
Select the Learning Interaction component (to the left of the Stage in the quiz template), and
1.
open the Component Inspector, if necessary, from the Property inspector.
Click Assets, at the bottom of the panel.
2.
Enter the name in the appropriate instance name text box.
3.
408
Chapter 19: Creating E-learning Content
408).
"Registering dynamic text fields and UI components"
"Registering dynamic

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents