all groups > flash actionscript > january 2004 >
You're in the

flash actionscript

group:

NEED HELP with scripting...


NEED HELP with scripting... 2s
1/13/2004 10:36:30 PM
flash actionscript:
I have two draggable movies on a single line: marked with yellow and blue. They can be freely moved back and forth but should not overlap, but rather push each other when one is dragged next to another.

I attach the file here. Please, feel free to modify the file if you know how to resolve this issue.

Any help would be greatly appreciated.

Thank you.

http://webforums.macromedia.com/attachments/sliders.zip

Re: NEED HELP with scripting... 2s
1/14/2004 8:34:32 PM
I give up. Any takers?

Re: NEED HELP with scripting... exorº
1/14/2004 8:42:26 PM
hey there... it seems like you need a collision detection script. now i know nothing about collision scripting [yet!]... so, you can check the sites below, they may help or browse this forum for collision.

the Kirupa.com link sends you to a simple collision script, you'll need to modify it to suit your needs. i hope this points you in the right direction.

http://www.kirupa.com/developer/actionscript/hittest.htm
http://www.flashkit.com


if you really think about it.... i wouldn't have to!

Re: NEED HELP with scripting... 2s
1/14/2004 8:58:41 PM
Someone mentioned HitTest before, but I'm not sure hot to apply it in my file.

I'll look into it at the links you've included.

Thanks.

AddThis Social Bookmark Button