Skip to main content
February 12, 2009
Question

Drag and Drop HELP!

  • February 12, 2009
  • 1 reply
  • 385 views
OK - Here's my problem. Just moving from AS2 to AS3 and trying to create a drag and drop template. I need to re-use a single drag selection multiple times, to multiple targets and then graded. For example, say I was building a car by dragging parts over to a car frame. I need to be able to drag a copy of a tire to the car frame 4 times in any random order. Drag 2 doors in any order, or drag one item like a hood... etc, then grade to make sure all are in the right place.

I have succedded in dragging a specific Drag item to a specific Target and give feedback as it is dropped (either "wrong", "correct" or "Good Job, Completed"), but having a bear of a time trying to figure out how to use one Drag item for multiple Targets.

Anybody have a sample template FLA of the same concept that I can build from?

Many, Many, Thanks!
This topic has been closed for replies.

1 reply

Damon Edwards
Inspiring
February 12, 2009
I'm not sure I understand what you mean about having "one Drag item for multiple targets". Can you elaborate some please.
February 12, 2009
What I am trying to do is to be able to use one of each of the images on the left multiple times, and put them in the correct position on the diagram in any order and then checked after student drops the item on a target. (sample sent to email)

I have 1 for 1 working (working targets have green highlight), but can’t figure out how for instance, drag 2 barrels in any order, 6 red squares over in any order and 2 orange circles over in any random order. I am stuck on 1 drag item for one specific target only.

I would like the selections to remain to the left and copies of them created and dragged to the targets. (currently they are removed from the left when dragged)