Hello,

As part of my project, I need to create a magnetic grid, locking moving objects 
to the grid as they are moved (it's a drawing api).

The Graphic Objects (i.e pictures, text, ... ) are Canvas objects that are 
display on a Canvas (more or less the background of the drawing api).

Over this canvas, i added another canvas displaying a grid ( a Shape Object 
with a bunch of horizontal and vertical lines).

This is where my imagination stops.
I'm fairly new to flex development and I have no idea about how to "lock" the 
graphic objects to the grid as they are moved.

By the way, if it's relevant to you guys, objects are not moved using the 
drag&drop mechanism but using the com.greensock.transformManager 
(http://www.greensock.com/).

I've searched the adobe documentation, this group and googled for a while 
without finding any relevant information. Any advice would be greatly 
appreciated. 
If any of you wish, I can add some juicy bits of code.

Thanks in advance.

Reply via email to