MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 401

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

Advertisement

In the Matches Target Name column, list the matching target instance name for that
4.
Drag object.
Each target must have a unique name. If you add a new target on the Stage, make sure to enter
its name here.
If you enter a Drag instance name in the Drag Object Name column, you need to enter a
corresponding Target instance name in the Matches Target Name column. However, you can
enter a Target instance name in the Matches Target Name column without a matching Drag
instance name. This adds a target that can be snapped to but is not evaluated as a
correct match.
Select Snap to Start to make the Drag objects snap back to their original position if they do not
5.
snap to a registered target.
Select each instance of the Drag object or Target object on the Stage. Use the Property
6.
inspector to give each instance the same instance name that you specified in the Component
inspector.
Adding and removing Drag objects and Target objects
You can change the default number of four objects and four targets by adding more objects and
targets or by deleting existing objects and targets. You can include from one to eight Drag objects
and one to eight Target objects in a Drag and Drop learning interaction.
To add a Drag object or Target object:
Create a movie clip symbol containing the graphics for the object. For example, if you have an
1.
interaction that has six types of fruit, and you want to add a seventh choice, create a graphic of
the seventh fruit and place it in the library.
Select the Drag and Drop learning interaction on the Timeline, and then drag the symbol from
2.
the Library panel to the Stage.
In the Property inspector, name the instance. See
3.
on page
407.
Add the instance name to the Component inspector for the Drag and Drop object. See
4.
"Naming and registering graphic distractors" on page
The component does the rest of the work automatically at runtime.
To remove a Drag and Drop object:
Select the Drag and Drop instance that you want to remove, and delete it from the Stage.
1.
Select the Drag and Drop component (to the left of the Stage in the quiz template), and then
2.
display the Component inspector by opening it from the Property inspector, if necessary.
Remove the deleted object's instance name from the appropriate column in the Component
3.
Inspector.
"Adding, naming, and registering assets"
409.
Configuring learning interactions
401

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents