XML class
193
XML.loaded
Availability
Flash Media Server 2.
Usage
my_xml
.loaded
Description
Property; a Boolean value that is
true
if the document-loading process initiated by the
XML.load()
call completed successfully;
false
otherwise.
Example
The following example uses the
XML.loaded
property in a simple script:
var my_xml = new XML();
my_xml.ignoreWhite = true;
my_xml.onLoad = function(success) {
trace("success: "+success);
trace("loaded: "+my_xml.loaded);
trace("status: "+my_xml.status);
};
my_xml.load("http://www.flash-mx.com/mm/problems/products.xml");
Information writes to the log file when the
onLoad
handler is invoked. If the call completes
successfully, the
loaded
status
true
is written to the log file, as shown in the following
example:
success: true
loaded: true
status: 0
See also
XML.load()
,
XML.onLoad
NO
TE
In Flash Media Server, the output of
trace()
statements appears in the application log
file and Application inspector.
Содержание FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT...
Страница 1: ...Server Side ActionScript Language Reference...
Страница 4: ...4 Contents...
Страница 228: ...228 Server Side ActionScript Language Reference...
Страница 234: ...234 Server Side Information Objects...