This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > February 2006 > snap to grid





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author snap to grid
ck1mark

2006-02-16, 6:58 pm

I want to create the effect where the user will drag a 10px by 10px movieclip
on a grid that starts at x: 0 and y: 0 to x: 100 and y:100. When the user
releases the movieclip it should lock in place. for example x:20 y:50

droopy.ro

2006-02-16, 6:58 pm

hello,
i made an example of what you want. i think it works fine. you can see it >>
http://droopy.ro/exemples/grid_snap.html

you can download the source from :
http://droopy.ro/exemples/grid_snap.zip <<for flash 8
http://droopy.ro/exemples/grid_snap2004.zip <for flash MX 2004
if you have any problems , don't hesitate to contact me.

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews