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>
  <chat0>XXX</chat0>
  <chat0>YYY</chat0>
  <chat0>ZZZ</chat0>
</myxml>;

handleChat(myxml.chat0);

function handleChat(list:XMLList):void {
        trace(list.children());
        trace(list.children().join("\n"));
}

- gives me the output:

XXXYYYZZZ

TypeError: Error #1006: value is not a function.
        at Untitled_fla::MainTimeline/handleChat()
        at Untitled_fla::MainTimeline/frame1()

Thank you
Alex
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to