loaded (LoadVars.loaded property)
public loaded :
Boolean
A Boolean value that indicates whether a
by default. When a
undefined
started, the
property is set to
loaded
property is set to
true
property remains set to
loaded
This property is similar to the
Availability: ActionScript 1.0; Flash Lite 2.0
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://www.helpexamples.com/flash/params.txt");
See also
load (LoadVars.load method)
(XML.load method)
LoadVars constructor
public LoadVars()
Creates a LoadVars object. You can then use the methods of that LoadVars object to send and
load data.
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example creates a LoadVars object called
var my_lv:LoadVars = new LoadVars();
load
LoadVars.load()
false
. If the operation has not completed or has failed with an error, the
.
false
property.
XML.loaded
,
sendAndLoad (LoadVars.sendAndLoad method)
or
operation has completed,
sendAndLoad
or
LoadVars.sendAndLoad()
; when the operation completes, the
:
my_lv
operation is
loaded
,
load
LoadVars
399
Need help?
Do you have a question about the FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?