Skip to content


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.

http://www.mail-archive.com/flexcoders@yahoogroups.com/msg29930.html

http://livedocs.adobe.com/flex/201/langref/flash/display/DisplayObjectContainer.html#mouseChildren

Posted in ActionScript, Flex, Flex Note.

Tagged with , , , , .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.