Re: [Flashcoders] Returning an XML Object

2006-03-01 Thread Adrian Park
Hey Peter, First probelm I see is this... In your photo_navigation() method, you do this... trace("my_xml = " + my_xml); ... immediately after this... var my_xml = load_xml(xml_file); When you call the trace() your xml won't have loaded yet and therefore will not have been returned. I'm guess

[Flashcoders] Returning an XML Object

2006-03-01 Thread Peter Burke
Howdy folks, Just trying to get my head wrapped around this issue. In photo_navigation.as, I'm trying to get back a return type of XML from xml_loader. But when I attempt this: "trace("my_xml = " + my_xml);", I end up getting: "my_xml = undefined". Somewhere along the line I'm losing the my_xm