When
is executed, the XML object property
load()
finishes downloading, the
The XML data is not parsed until it is completely downloaded. If the XML object previously
contained any XML trees, they are discarded.
You can specify your own event handler in place of the
Example
The following is a simple example using
doc = new XML();
doc.load ("theFile.xml");
See also
,
XML.loaded
XML.onLoad()
XML.loaded
Availability
Flash Player 5.
Usage
my_xml.loaded
Description
Property (read-only); determines whether the document-loading process initiated by the
call has completed. If the process completes successfully, the method returns
XML.load()
otherwise, it returns
Example
The following example uses
if (doc.loaded) {
gotoAndPlay(4);
}
XML.nextSibling
Availability
Flash Player 5.
Usage
my_xml.nextSibling
Description
Property (read-only); evaluates the XML object and references the next sibling in the parent
node's child list. This method returns
a read-only property and cannot be used to manipulate child nodes. Use
insertBefore()
See also
XML.appendChild()
764
Chapter 12: ActionScript Dictionary
property is set to
loaded
.
false
XML.loaded
null
, and
to manipulate child nodes.
removeNode()
,
XML.insertBefore()
is set to
loaded
, and the
true
onLoad()
:
XML.load()
in a simple script.
if the node does not have a next sibling node. This is
,
XML.removeNode()
. When the XML data
false
method is invoked.
onLoad()
method.
appendChild()
;
true
,
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?
Questions and answers