For another example, see the guestbook.fla file in the ActionScript samples folder. Here are
some typical paths to this folder:
Windows: boot drive\Program Files\Macromedia\Flash 8\Samples and
Tutorials\Samples\ActionScript
Macintosh: Macintosh HD/Applications/Macromedia Flash 8/Samples and Tutorials/
Samples/ActionScript
See also
load (XML.load method)
(LoadVars.onLoad handler)
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 Player 6
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)
,
loaded (LoadVars.loaded property)
,
useCodepage (System.useCodepage property)
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
,
onLoad
operation is
loaded
,
load
LoadVars
701
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?