[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] custom cursor
From: |
Chris Bare |
Subject: |
Re: [Swftools-common] custom cursor |
Date: |
Thu, 4 May 2006 12:15:20 -0400 (EDT) |
> I would like a different mouse cursor picture, especially over buttons.
> How can I do this?
>
Flash has no built-in way to do this. You have to hide the cursor and use a
movieclip in it's place. You could connect something like the following to all
your button's rollover events:
myCursor._visible = true;
myCursor._x = _root._xmouse;
myCursor._y = _root._ymouse;
Mouse.hide ();
myCursor.startDrag();
then reverse that on rollout:
myCursor._visible = false;
myCursor.stopDrag();
Mouse.show ();
--
Chris Bare
address@hidden