Creating Backgrounds for a TextField : Background : TextField Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » TextField » Background »

 

Creating Backgrounds for a TextField


 

package{
  import flash.display.Sprite;
  import flash.text.*;
  public class Main extends Sprite{
    public function Main(){
        var txt:TextField = new TextField();
        txt.backgroundColor = 0x0000FF;
        txt.background = true;
        addChild(txt);
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo TextField
» Background