Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Intelligent mouse cursors
From: Tai
Date: Thu, 4 Nov 1999 23:42:29 GMT

Hi Mike,

Set Variable: "oldx" = xpos
Set Variable: "oldy" = ypos
Set Variable: "xpos" = getproperty("",_x)
Set Variable: "ypos" = getproperty("",_y)
If (xpos > oldx)
Set Property ("", Rotation) = 0
Else If (xpos < oldx)
Set Property ("", Rotation) = 180
End If

if you put that inside a loop in a movie clip which your draggin... with
an arrow which originally points to the right, you'll find that it
changes depending on which direction your mouse is moving in...

it's a very simple implementation I'm sure that you can expand on it
from there... just requires more else if checks...

give me a yell (off list) if you want the fla I created, or if I didn't
make sense

cheers
Tai :)


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Intelligent mouse cursors, Mountain, Mike J

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]