Hello,
I'm new to Flex, and want to know a recommended way of approaching this problem:
Dragging and dropping circles from one component to another, but while they are in the over state of the destination component, applying an interactive collision detection of circles snapped to a horizontal y coordinate.
The already dropped circles can be picked up again and again to change that circles position colliding with the circles already there.
----------------------
| O O O O O |
----------------------
I tried a Tile list with an offset and manually creating the drag and drop abilities, but I'm failing when it comes to the collision.
What components would you use?
How do you implement this doDrag() in real-time (interactively)?
Add Comment
[language] [/language]
Examples:
[javascript] [/javascript]
[actionscript] [/actionscript]
[csharp] [/csharp]
See here for supported languages.
Javascript must be enabled to submit anonymous comments - or you can login.