[flexcoders] Re: creating a magnetic grid

2010-05-21 Thread ouaqa
Hello again, I solved this issue by creating a "MagneticGrid" object containing the visual representation of the grid and two arrays : one for x-axis grid coordinates , the other for the y-axis coordinates. When an item is moved, it's current position is tested against the two arrays. If the cu

[flexcoders] Re: creating a magnetic grid

2010-05-21 Thread ouaqa
Thanks a lot, I'm gonna look into it --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > You might be able to use this: > > http://blogs.adobe.com/aharui/2010/01/constrained_drag_and_drop.html > > > On 5/20/10 5:50 AM, "ouaqa" wrote: > > > > > > > Hello, > > As part of my project,