PDA

View Full Version : Drag and drop



twilight
June 20th, 2003, 02:56 AM
I have a very limited knowledge in actionscripting so this might be a simple question for the normal people


how do you drag and drop seperate mulitple objects at once?

I know how to drag and drop one object but I am stumped on this one

can someone plz help

kode
June 20th, 2003, 03:32 AM
http://proto.layer51.com/d.aspx?f=845

there have been several threads about this lately... if you have any questions, i believe a search would help. ;)

twilight
June 20th, 2003, 03:47 AM
I searched but there was nothing that helped me drag multiple objects at one time .... and the link you posted is way over my head. But thanks for the help anyways. I'll tyr to figure it out

kode
June 20th, 2003, 03:53 AM
it's a simple copy/paste, it works the same (better actually) than MovieClip.startDrag and MovieClip.stopDrag.

the only difference, instead of using

myMovieClip.startDrag(true, 0, 0, 80, 80);
myMovieClip.stopDrag();
you'd use

myMovieClip.beginDrag(true, 0, 0, 80, 80);
myMovieClip.endDrag();
:)