Page 1 of 1

change cursor icon when hovering over object

Posted: Thu Feb 22, 2007 5:21 am
by supergrass
I am doing a mockup of a web site. I have used cards to show the layouts/ gui of different pages.

I am trying to simulate typical browser behaviour of the cursor and hyperlinks when the mouse is hovering over them eg change the cursor to a hand and change the button/ link colour.

I have looked thru the documentation and so far turned up nothing.

Any ideas?

Posted: Thu Feb 22, 2007 2:00 pm
by BIX
try

Code: Select all

on mouseEnter
  lock cursor
  set the cursor to hand
end mouseEnter

Posted: Thu Feb 22, 2007 7:32 pm
by Klaus
and don't forget:

on mouseleave
lock cursor
set the cursor to arrow
end mouseleave

:-)

thanks guys

Posted: Tue Feb 27, 2007 6:16 am
by supergrass
your advice did the trick