You can use the LoadVars class to obtain verification of successful data loading and to monitor download progress. The LoadVars class is an alternative to the loadVariables() function for transferring variables between a Flash application and a server.
LoadVars.decode is inherited by all instances of the LoadVars object. The Method accepts one argument, the argument is a string that contains name/value pairs, that you wish to be converted into object properties and associated values. Name/value pairs look like this: