Hi all!

I would like snapping the edges of two figures programmatically, being these next one to another and with different rotation.

My first idea was "changing dinamically the movie clip center", so I would simply snap to one point, then rotating the figure till both would share a common edge.

Here is a graphic sample, so you understand what's going on:


And the related fla file (if you wanna experiment):