You can also insert 
 into your XML to force a newline.
 
m.

________________________________

From: [EMAIL PROTECTED] on behalf of eric dolecki
Sent: Wed 1/10/2007 11:46 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] XML and line breaks ...



Use CDATA and a <br/> tag where you want the break.
.htmlText instead of .text

- e.

On 1/10/07, Stephen Ford <[EMAIL PROTECTED]> wrote:
>
> I am populating a text field in my flash movie with the content of an
> external XML file.What is the best way to force a line break in my text
> field ?For example, if the following was the XML node:<content>Text text
> text text. /n Text text text</content>Unfortunately, the '/n' line break
> doesn't work, so do I need a function in my flash class that looks for any
> index of '/n' and then inserts a line break ?. Is there anyway to do this
> perhaps using an escape sequence in the XML file
> ?Thanks._______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com <http://www.figleaf.com/> 
> http://training.figleaf.com <http://training.figleaf.com/> 
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com <http://www.figleaf.com/> 
http://training.figleaf.com <http://training.figleaf.com/> 


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to