git.net

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

Re: setStyle on a Label


Can you post a small test case?

On 9/20/18, 1:52 PM, "Scott Matheson" <scott@xxxxxxxxxxxxxxxx> wrote:

    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