Using hand cursor in Flex Text control

October 10, 2009

http://way.cubeforge.net/blog/2009/07/using-hand-cursor-in-flex-text-control/

By default, the flex application can show hand cursor when rollover by enabling useHandCursor and buttonMode properties.

However, in Text control, the cursor will not change to hand even you set the selectable = false. The tricky thing is that we have to set its mouseChildren to false also.

<mx:Text useHandCursor=”true” buttonMode=”true” mouseChildren=”false” />

mouseChildren – Determines whether or not the children of the object are mouse enabled. If an object is mouse enabled, a user can interact with it by using a mouse. The default is true.

Categories: flex.

Comment Feed

No Responses (yet)



Some HTML is OK

or, reply to this post via trackback.