Flash Player 6.
myLoadVars
.onLoad(
success
)
success
The parameter indicates whether the load operation ended in success (true
) or failure (false
).
A Boolean value.
Event handler; invoked when a LoadVars.load() or LoadVars.sendAndLoad() operation has ended. If the operation was successful, the loadVarsObject
is populated with variables downloaded by the operation, and these variables are available when this handler 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.