You can append text by using the += operator or the appendText( ) method : Text : TextField Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » TextField » Text »

 

You can append text by using the += operator or the appendText( ) method


 

package {

  import flash.display.Sprite;
  import flash.text.TextField;
  public class Main extends Sprite {
    public function Main(  ) {
      var field:TextField = new TextField(  );
     field.appendText("new text");
     addChild(field);
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo TextField
» Text