Configuring a Drag and Drop interaction

You can use up to eight Drag objects and eight Target objects in each Drag and Drop interaction. Each Drag object can snap to any target named in the Drag and Drop component for evaluation. Drag objects can also share targets; for example, both Drag 1 and Drag 2 can match Target 8. You can also specify a target without matching a Drag object to it. This allows you to add incorrect target distractors for evaluation.

Each Target object and Drag object is referred to as a distractor. A distractor is simply one of a series of selectable choices. This term is used for the choices in each of the learning interactions.

To configure a Drag and Drop interaction:

  1. If you are not using a quiz template, place the learning interaction on the Stage. If you are using a quiz template, select the frame on the Interactions layer that contains the Drag and Drop interaction. (Frame 2, if you have not added or removed keyframes.)
  2. Break the movie clip apart (Modify > Break Apart), display the Component Inspector panel, and then type the interaction ID and the question. See Configuring a Learning Interaction component.
  3. In the Drag Object Name column, list the instance names for the Drag objects on the Stage.

    Each Drag object must have a unique name. If you add a new Drag object on the Stage, be sure to enter its name here.

  4. In the Matches Target Name column, list the matching target instance name for that Drag object.

    Each target must have a unique name. If you add a new target on the Stage, be 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.

  5. Select Snap to Start to make the Drag objects snap back to their original position if they do not snap to a registered target.
  6. Select each instance of the Drag object or Target object on the Stage. Use the Property inspector to give each instance the same instance name that you specified in the Component Inspector panel.