RE: [Flashcoders] How to return with loadvars within a function?

2006-12-28 Thread Danny Kodicek
> Hi Coders > > I have problem with the following code. I cannot return the > value but i can trace inside the onload. I am mentioning the > dummyXML. Anyone can help would be appricated. > > function mloader(file, toobject) { > encLoad = new LoadVars(); > encLoad.onLoad = function(success)

[Flashcoders] How to return with loadvars within a function?

2006-12-28 Thread Berkay Unal
Hi Coders I have problem with the following code. I cannot return the value but i can trace inside the onload. I am mentioning the dummyXML. Anyone can help would be appricated. function mloader(file, toobject) { encLoad = new LoadVars(); encLoad.onLoad = function(success) { xmldata = encLoad.d