03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The color of the text field background. Default is 0xFFFFFF (white). This property may be<br />

retrieved or set, even if there currently is no background, but the color is only visible if the text<br />

field has a border.<br />

Example<br />

See the example for TextField.background.<br />

See also<br />

background (TextField.background property)<br />

border (TextField.border property)<br />

public border : Boolean<br />

Specifies if the text field has a border. If true, the text field has a border. If false, the text<br />

field has no border.<br />

Example<br />

The following example creates a text field called my_txt, sets the border property to true, <strong>and</strong><br />

displays some text in the field.<br />

this.createTextField("my_txt", this.getNextHighestDepth(), 10, 10, 320,<br />

240);<br />

my_txt.border = true;<br />

my_txt.text = "Lorum ipsum";<br />

borderColor (TextField.borderColor property)<br />

public borderColor : Number<br />

The color of the text field border. The default is 0x000000 (black). This property may be<br />

retrieved or set, even if there is currently no border.<br />

Example<br />

The following example creates a text field called my_txt, sets the border property to true, <strong>and</strong><br />

displays some text in the field.<br />

this.createTextField("my_txt", this.getNextHighestDepth(), 10, 10, 320,<br />

240);<br />

my_txt.border = true;<br />

my_txt.borderColor = 0x00FF00;<br />

my_txt.text = "Lorum ipsum";<br />

618 ActionScript classes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!