Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

text for a dynamic text box, creating new line

Status
Not open for further replies.

onressy

Programmer
Mar 7, 2006
421
CA
i have a var that i'm assigning text to and this text is displayed in a dynamic text box. The text is two paragraphs, so how would i break the text to start on a new line, like a <p></p> tags in html ?

Thanks!
 
So you have an external text loaded in a dynamic text field. You could use some html tags. To make a line brake you can use <br></br>. You have to select from the proprieties of the dynamic text "Render Text as HTML". To se the suported html tags navigate into the help:
Learning ActionScript 2.0 in Flash
Working with Text and Strings > Using HTML-formatted text > About supported HTML tags

For more accesibility you could use CSS.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top