LoadVars.loaded
Availability
Flash Player 6.
Usage
my_lv.loaded:Boolean
Description
Property; a Boolean value that indicates whether a load or sendAndLoad operation has
completed, undefined by default. When a
operation is started, the
property is set to
loaded
property remains set to
loaded
This property is similar to the
Example
The following example loads a text file and displays information in the Output panel when the
operation completes.
var my_lv:LoadVars = new LoadVars();
my_lv.onLoad = function(success:Boolean) {
trace("LoadVars loaded successfully: "+this.loaded);
};
my_lv.load("http://flash-mx.com/mm/params.txt");
LoadVars.load()
property is set to
loaded
. If the operation has not completed or has failed with an error, the
true
.
false
property.
XML.loaded
or
LoadVars.sendAndLoad()
; when the operation completes, the
false
LoadVars.loaded
391
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?