On Wed, Jan 7, 2009 at 1:47 AM, Aaron Miller
<[email protected]> wrote:

> I am using custom cursors with CursorManager, but I would like the hand
> cursor to override the default (custom) for some controls similar to the way
> editable text overrides the default cursor with the text indicator. Normally
> I would just set buttonMode="true" useHandCursor="true" but it doesn't work
> with custom cursors. Is there a built in way to force this behavior, or will
> I have to build a mechanism into my on cursor system with rollOver/rollOut
> events on each of the controls I want a hand cursor on?

There are 2 types of cursors in Flex: system cursors -- the arrow, the
hand, the I-beam, etc. -- and custom cursors. Custom cursors are
really graphics you display in place of the system cursor (which is
hidden) at the current mouse position. There are a number of problems
with this: you don't know when the system cursor has changed from an
arrow to an I-beam, for instance, and it's often hard to keep up with
the current mouse position, so sometimes the custom cursor might lag.
I avoid using custom cursors in my applications for these reasons.

All that said, I think if you want to show the hand cursor
conditionally you'll have to do what you're thinking: switch cursors
on roll over and roll out.

Manish

Reply via email to