EasyManua.ls Logo

MACROMEDIA FLASH 8-USING FLASH - Page 579

MACROMEDIA FLASH 8-USING FLASH
678 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Adding, naming, and registering assets 579
Naming and registering graphic distractors
Graphic distractors such as Drag objects, Target objects, hot spots, and hot objects must be
named uniquely across all interactions. This means that in a file with two Drag and Drop
interactions, each containing four Drag objects, each of the eight Drag objects in the file must
be named uniquely. For example, the Drag objects in the first interaction could be named
Drag 1, Drag 2, Drag 3, and Drag 4, and the Drag objects in the second interaction could be
named Drag A, Drag B, Drag C, and Drag D. This system ensures that the scripts work
properly and the interactions behave as intended.
To name graphic distractors:
1. Make sure that the objects on the Stage are instances of learning interactions or movie
clip symbols.
2. Select an object on the Stage—for example, a Target object.
3. In the Property inspector, type a name in the Instance Name text box.
4. Repeat steps 1–3 for each object on the Stage.
5. Register the names (see the following procedure).
To register a distractor instance name:
1. Select the Learning Interaction component (to the left of the Stage in the quiz template),
and open the Component inspector from the Property inspector, if necessary.
2. Enter the name in the Component inspector, under Instance Name.
Text field names
Text fields can share the same names from interaction to interaction. That means that the
question text field in interaction 1 can be named the same as the question text field in
interaction 2, and so on. These names need to be registered with the interaction components,
as do all assets names (see “Registering dynamic text fields and UI components” on page 578).
Asset name defaults
The assets supplied in the movie clip interaction containers are prenamed with the instance
names listed in the following tables.
NOTE
A sequential naming scheme is usually the easiest to work with—for example, Drag1,
Drag2, Drag3, and so on.

Table of Contents

Related product manuals