[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 ();

then reverse that on rollout:

                myCursor._visible = false;
                        Mouse.show ();
Chris Bare

reply via email to

[Prev in Thread] Current Thread [Next in Thread]