PDA

View Full Version : dragging & targets?



kidpablo
September 29th, 2003, 05:20 AM
Hi,

On the attached exercise, is it possible to stop further items being dragged onto a target when the target box is full?

Would really appreciate it if anyone could help.

Kitiara
September 29th, 2003, 08:50 AM
You could set up a flag eg: full = "false", so that when an item is dropped into the target, it becomes "true". Then add an if statement along the lines of 'if (full="true") snap the object back to it's starting position so it can't be dropped there...