« How To Remove the “Black Line” from a Tree Control (Drag and Drop Enabled)
» Flex and PHP web-service

ActionScript, How to

Hand Cursor on a Label

15.02.08 | 1 Comment

If you have a label and you want to show a hand cursor when the mouse is over it you have to set three properties as bellow:

lbl.useHandCursor = true;
lbl.mouseChildren = false;
lbl.buttonMode = true;

where lbl is

public var lbl:Label = new Label();

Job’s done!

Popularity: 27%

Share and Enjoy:
  • Technorati
  • StumbleUpon
  • del.icio.us
  • NewsVine
  • Reddit
  • Digg
  • Furl
  • co.mments
  • blogmarks
  • Slashdot
  • DZone
  • Taggly
  • YahooMyWeb
  • connotea
  • Webride




Tags: , ,

This post was written by Andrei Ionescu

Views: 1668

related

popular

1 Comment

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

:

:


« How To Remove the “Black Line” from a Tree Control (Drag and Drop Enabled)
» Flex and PHP web-service