If you just want to response back saying it's done then use
jlingwai's method. But, if you want to get an xml back then....
...this is something I struggled from Flash 8 and it is same
technology. But, you can use server tech. to do this. Basically you
save xml to the database using a guid and when the complete even
fires use that guid to locate the xml.