I'm quite new to as3, and I'm heading with a (for me complex) problem. I have some identical objects (movieclips), wich I made draggable sqaures.
But I want to achieve the following thing: When I drag one of these objects to another one, I want them to "attach" to each other, just like in some "building games". And after two (or more) objects are attached, I need them to be draggable as a new whole. Which means if you click on any of them, every object drags along, en they stay om the same attached position.
I honestly don't know how to do this. I would appreciate if anyone could provide some examples or code.
Thanksin advance!