Hi guyz, im stuck here.
i have my main function:
function main(){
call_xml(“myxml.xml”);
trace(data)// NULL
}
function call_xml(){
loader.(event.Complete, oncomplete);
}
function oncomplete(){
data = new XML(evt.target.data);
trace data// OK XML
}
so, i want to get my data XML var back to main, i get NULL (i think is oncomplete fault )
how can i do that??
thanx!