Sorry, I keep reading the docs, but
haven't wrapped my brain around this yet.
How could I create a string of several
joined chat-lines here
var myxml:XML =
myxml
chat0XXX/chat0
chat0YYY/chat0
chat0ZZZ/chat0
/myxml;
handleChat(myxml.chat0);
function handleChat(list:XMLList):void {
hmmm
ordinarily i would loop through the list to accomplish what you're trying to
do
function handleChat(list:XMLList):void
{
for (var i:int = 0; i list.length(); i++)
{
trace(list[i]);
}
}
On Wed, Feb 3, 2010 at 5:26 PM, Alexander Farber alexander.far...@gmail.com
wrote:
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
That's a cool idea, thank you
On Wed, Feb 3, 2010 at 9:19 PM, Jer Brand thejhe...@gmail.com wrote:
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
4 matches
Mail list logo