drag and drop
I hope this makes sense:
I have four objects (buttons within movie clips). I also have a target object (movie clip). When one of the four objects is dragged and dropped onto the target object, a message appears. This message is dependent on which object is dropped on the target. I have implemented this functionality and it works fine.
Now, what I want is a general message to appear (say, "Too many objects") each time more than one object is dropped on the target.
I thought I could keep track of a counter variable each time an object is dragged and dropped on the target,
or I could check for all possible combinations of two objects on the target but this requires many if statements.
Is there an alternative approach that I could use?
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Drag and Drop||ScottyEvil||Flash MX 2004||1||05-18-2007 05:02 PM|
|drag and drop into a box in any order||kazooki||Flash 8||1||03-19-2007 12:11 PM|
|Drag & Drop: Deleting when pulled off main area||GrittyKitty||Newbies||6||12-01-2006 10:42 PM|
|Drag & Drop Help!||jmwebcenter||Flash MX 2004||1||02-08-2004 07:27 PM|
|How to unable Drag and Drop movies.||choi_kathryn||Flash 5 Actionscript||1||11-30-2002 02:14 PM|