G-L > LoadVars.onLoad |
LoadVars.onLoad
LoadVars, LoadVars.onLoad, onLoad
Availability
Flash Player 6.
Usage
myLoadVars.onLoad(success)
Parameters
success The parameter indicates whether the load operation ended in success (true) or failure (false).
Returns
A Boolean value.
Description
Event handler; invoked when a load or sendAndLoad operation has ended. If the operation was successful, the loadVarsObject is populated with variables downloaded by the load or sendAndLoad operation, and these variables are available when onLoad is invoked.
This method is undefined by default, you can define it by assigning it a callback function.
This method is similar to the XML.onLoad method of the XML object.