PDA

View Full Version : Custom Label Control


kminev
01-08-2009, 08:51 PM
I need to have one label with some text and when user mouse over the label I need to expand the label like a combo box and show more values.

Kind or like an accordion effect on a label.

Any ideas how can that be done?

Thanks in advance.

MattJohnson
01-08-2009, 10:35 PM
Here ya go:

<mx:Label id = "MyLabel" x="19" y="398" text="Label" width="50" mouseOver="MyLabel.width=100" mouseOut="MyLabel.width=50" />


:)