PDA

View Full Version : Arrows pointing at the mouse cursor


zzzbye
01-15-2002, 08:07 AM
Hey u guys, there's this one at natzke.com whereby there's a whole bunch of arrows that point to the mouse cursor wherever its at!! how does one do that?? its under 'FlashForward2001 NY' if im not wrong.

pixelwit
01-15-2002, 09:37 AM
Go Here:
http://www.actionscripts.org/tutorials/advanced/Mouse_Angle_Detection_II/index.shtml

Hope it helps,

-PiXELWiT
http://www.pixelwit.com

zzzbye
01-15-2002, 01:24 PM
yah i tried that..... but the thing is.. when i add more arrows on the stage.... instead of them pointing at the mouse cursor.... they all juz point the same angle......... so when my cursor is between 2 arrows.. only one arrow is pointing at the cursor... the other is pointing the other way round.... how do i solve that? hmm

pixelwit
01-15-2002, 01:36 PM
Everything should work fine. How are you adding the other arrows? How are they being adjusted? Can you attach a small version of what you have?

-PiXELWiT
http://www.pixelwit.com

zzzbye
01-15-2002, 01:56 PM
here

Tink
01-15-2002, 01:58 PM
are u putting the script on all the arrows?

pixelwit
01-15-2002, 02:25 PM
I attached a file for you. If you still can't make it work in your project... you're on your own.

-PiXELWiT
http://www.pixelwit.com

zzzbye
01-15-2002, 02:35 PM
oh man... you did it! thanks a lot for ur help dude!!

pixelwit
01-15-2002, 02:41 PM
Read up on "pathing" it will prove invaluable.

-PiXELWiT
http://www.pixelwit.com