Yeah, list.children() is an XMLList which doesn't have a join method.
A loop looks like your best bet.
Off the wall suggestion: If you're just adding this to a HTML enabled
text field (or some other HTML enabled container), you might change
your tag's to <p></p> rather than <chat0>...</chat0> and add the
entire thing to the textfield's htmlText.
handleChat(myxml.chat0);
function handleChat(list:XMLList):void
{
chatText.htmlText = list.toXMLString() ;
}
Total hack I know, but might actually be useful, depending on what
you're doing.
Jer
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders