Did you try condenseWhite on your textfield? http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/w whelp.htm?context=LiveDocs_Parts&file=00002740.html
>From the help files: var my_str:String = "Hello\tWorld\nHow are you?\t\t\tEnd"; this.createTextField("first_txt", this.getNextHighestDepth(), 10, 10, 160, 120); first_txt.html = true; first_txt.multiline = true; first_txt.wordWrap = true; first_txt.condenseWhite = false; first_txt.border = true; first_txt.htmlText = my_str; this.createTextField("second_txt", this.getNextHighestDepth(), 180, 10, 160, 120); second_txt.html = true; second_txt.multiline = true; second_txt.wordWrap = true; second_txt.condenseWhite = true; second_txt.border = true; second_txt.htmlText = my_str; -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wouter Sent: Thursday, August 24, 2006 8:37 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] XML question Thanx! But ignoreWhite = true So that`s not it...any other ideas....? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Hyndman Sent: Thursday, August 24, 2006 4:14 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] XML question Is your XML object set to ignoreWhite? http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/comm on/h tml/wwhelp.htm?context=Flash_MX_2004&file=00001896.html Scott On 24/08/06, Wouter <[EMAIL PROTECTED]> wrote: > > Hi list, > > I got an MS Acces database with data, which I converted to XML (direct > export from Access) and I read that in flash.....so far so good, but > when I display the text in a textfield there are a lot of empty lines > between the lines....I found out that there are somehowe some "\r" in > there that probably cause this.....but how do I get them out? I tried > to replace all the "\r" but that did not help.... > > Any ideas? > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > 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 > _______________________________________________ Flashcoders@chattyfig.figleaf.com 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 _______________________________________________ Flashcoders@chattyfig.figleaf.com 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 _______________________________________________ Flashcoders@chattyfig.figleaf.com 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