try trashing returns before setting the htmltext in your field: 

function trashReturns ( val:String , charToReplace:String = " ") :String {

                        return replaceChar( val, "\r", charToReplace ) ;

                }

function replaceChar( str : String, charToRemove : String , charToReplace : 
String) : String {
                        
                                var temparray:Array = str.split(charToRemove);
                                return temparray.join(charToReplace);   
                        
                }


On 15 Jun 2010, at 18:23, Lehr, Theodore wrote:

> I have bold tags causing line returns - the text is coming from xml.... any 
> idea why that would be?
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to