git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setStyle on a Label


Hi

     How do I make a text label appear in the center of an lable using AS3 code

 
     var _lsn:Label = new Label();
     _lsn.text = _”hellow”
     _lsn.setStyle("textAlign", "center");

 
 
the issue must be setStyle 

 
Scott