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.

my_txt.multiline = false;<br />

my_txt.wordWrap = false;<br />

my_txt.text = "Lorem ipsum dolor sit amet, consectetuer adipiscing...";<br />

scrollLeft_btn.onRelease = function() {<br />

my_txt.hscroll -= 10;<br />

scroll_txt.text = my_txt.hscroll+" of "+my_txt.maxhscroll;<br />

};<br />

scrollRight_btn.onRelease = function() {<br />

my_txt.hscroll += 10;<br />

scroll_txt.text = my_txt.hscroll+" of "+my_txt.maxhscroll;<br />

};<br />

See also<br />

maxhscroll (TextField.maxhscroll property), scroll (TextField.scroll<br />

property)<br />

html (TextField.html property)<br />

public html : Boolean<br />

A flag that indicates whether the text field contains an HTML representation. If the html<br />

property is true, the text field is an HTML text field. If html is false, the text field is a non-<br />

HTML text field.<br />

Example<br />

The following example creates a text field that sets the html property to true. HTMLformatted<br />

text appears in the text field.<br />

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

22);<br />

my_txt.html = true;<br />

my_txt.htmlText = " this is bold text ";<br />

See also<br />

htmlText (TextField.htmlText property)<br />

htmlText (TextField.htmlText property)<br />

public htmlText : String<br />

If the text field is an HTML text field, this property contains the HTML representation of the<br />

text field's contents. If the text field is not an HTML text field, it behaves identically to the<br />

text property. You can indicate that a text field is an HTML text field in the Property<br />

inspector, or by setting the text field's html property to true.<br />

TextField 625

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

Saved successfully!

Ooh no, something went wrong!