Groups | Blog | Home
all groups > flash actionscript > june 2004 >

flash actionscript : useHandCursor : still getting the finger.


river of ocean
6/8/2004 9:46:16 PM
creating a software demo for a client and want the mouse finger to disappear
when going over different buttons.

it works fine if I am doing a rollOver, but change the "rollOver" to "release"
and I get the FINGER ;-)

on (rollOver){
_root.mybutt.useHandCursor = false;
gotoAndStop("01");
}

I have named my button "mybutt".

I read about naming your mc, but I just don?t know what mc to name? this is
just a button on the main timeline.

do I create a mc with a button inside it (tried this and get nothing).

any advice will be greatly appreciated.

thanks
wayne

river of ocean
6/8/2004 10:16:21 PM
that worked, thank you very much!!!

just put the:

_root.mybutt.useHandCursor = false;

on it's own script at the start on the timeline and put:

on (release){
gotoAndStop("01");
}

on the button named "mybutt"
Laiverd.COM
6/8/2004 11:55:35 PM
_root.mybutt.useHandCursor = false; I think has to be outside the
on(rollOver) handler; basically on the timeline where the button sits. And
the instanceName of the button should mybutt.

John

--
----------------------------------------------------------------------------
-----------
RESOURCES
http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash
----------------------------------------------------------------------------
-----------
TUTORIALS at
www.laiverd.com
Flash & PHP Emailform
Using textfiles in Flash
----------------------------------------------------------------------------
-----------

AddThis Social Bookmark Button