Simple drag and drop game

Hey, I’m no programmer and not so good in actionscript (in AS3). I can’t seem to find anything out there that could help me with what I’m trying to do. Which is a simple “drag and drop on to a target” kind of game where there are several draggable objects and drop targets on screen. So here’s what I need help with:

  1. the ability to drag any objects and can be dropped on any drop targets.

  2. the ability to drag any objects and can only be dropped on certain drop targets.

  3. the ability to drag any objects of the same kind, and drop it on certain drop targets.

  4. if the correct kind of object is dropped on the correct drop target, an action will execute (immediately or at a later time).

The only solution I can imagine is by labeling certain objects into classes (ie: small object, big object etc.) and telling the target to allow these certain classes to be dropped on them. But I have absolutely no idea how to even start that.

Can anyone direct me on how to do this? A link or keywords I should be searching for online? Thank you in advance! :slight_smile: