Results 1 to 2 of 2
Thread: drag and snap
November 23rd, 2009, 11:35 AM #1280Registered User
drag and snap
how to make dragged object snap to any corner of the stage like for example winamp player snaps to corners?
if it close to the target remove drag ability and tween to target?
thats how i am imagine it but what do you guys think?
November 23rd, 2009, 03:52 PM #2
i'd say something like if draggedobject.x and y are < 100 snap to top left corner, if you are using TOP_LEFT stage align that is. you could then put a tween or something on it to, but make a rule for each corner, how far out you want to snap it from.