bold. This is italic";
[Bindable]
private var buttonLabel:String="Button label";
[Bindable]
private var longPhrase:String="This is an extremely long string that does not fit in the space of the panel.";
private function myToString(ml:Label):String
{
var newTL:TextLineMetrics = ml.getLineMetrics(0);
var newString:String = new String();
newString = newTL.ascent + ", " + newTL.descent + ", " + newTL.height + ", " + newTL.leading + ", " + newTL.width + ", " + newTL.x;
return newString;
}
]]>