Hi,
I am working as a ria developer (Flash As 2.0). I am doing all of my work in actionscript classes only. Most of the classes are reusable. Last day i have written a class for xml loading and returning xmlobject. After testing I found return command is not waiting for xml loading or I am doing something wrong.
For example I am attaching a simple fla and xml file which has two text box one is showing the loaded xml and one for returned xml. To invoke this action, there is a test button. When one pressed over this button it calls a function which loads the xml and return. After loading it shows the xml in xmlResult text box and returning xml is showing in returnResult text box (blank). All the time returnResult text box showing blank.
Please review the attached zip file.
Thanks,
Gunjan