Creating an Outline Around a Text Field : Border : TextField Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » TextField » Border »

 

Creating an Outline Around a Text Field


 
package {

  import flash.display.Sprite;
  import flash.text.TextField;
  public class Main extends Sprite {
    public function Main(  ) {
      var field:TextField = new TextField(  );
      field.border = true;
        field.borderColor = 0xFF00FF;  // Make the border violet.
        addChild(field);
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo TextField
» Border