Display Hand Cursor on Label and Buttons and Text objects in Flex

Hi All,

Sometime we got a requirement where we have to show hand cursor on flex components, mostly like where we have some clickable text,  For that there are 2 properties which we can use to achieve this requirement.

1. Button Mode=”true”
2. useHandCursor=”true”

As a hack sometime we need to add one more property
3. mouseChildren=”false”

All the properties accepts “true” or “false” value.

<mx:Button id=”w” click=””  buttonMode=”true” /> [Note: On buttons use only buttonMode=”true”]
<mx:Label  text=”testing again” buttonMode=”true” useHandCursor=”true” mouseChildren=”false” />

If you are creating a flex objects on the fly like button and clickable text, you can simply set these properties e.g


Hope this helps.

R Vashi