LoadVars.onLoad

Availability

Flash Player 6.

Usage

my_lv.onLoad = function(success) {
  // your statements here
}

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 LoadVars.load() or LoadVars.sendAndLoad() operation has ended. If the operation was successful, my_lv is populated with variables downloaded by the operation, and these variables are available when this handler is invoked.

This handler is undefined by default.

This method is similar to XML.onLoad().