Weebbo2000
11-01-2001, 07:56 AM
i'm about to loose my mind with this one (and it's not backed-up on disk :))
in the first frame of the main timeline i have the following script:
testXML = new XML();
testXML.load("4test.xml");
y = testXML.firstChild.attributes.name;
trace (y);
z = testXML.firstChild.attributes.order;
trace(z);
the file 4test.xml (which is located in the same directory as the movie) contains this:
<mytag name="Val" order="first">intem</mytag>
(copied from the actionscript dictionary examples)
the problem is that nothing traces....NOTHING...NADA...ZERO...
all i get is one very empty, very white output window....
if i buid the xml locally with
srs = "<mytag name=\"Val\" order=\"first\">intem</mytag>"
and then i load it with
testXML=new XML(srs);
then everything works out fine....i've tried everything i think is humanly possible and all i got is that my flash won't load xml files.
pleaseeeeeeeeee help me out :confused: :confused: :confused:
in the first frame of the main timeline i have the following script:
testXML = new XML();
testXML.load("4test.xml");
y = testXML.firstChild.attributes.name;
trace (y);
z = testXML.firstChild.attributes.order;
trace(z);
the file 4test.xml (which is located in the same directory as the movie) contains this:
<mytag name="Val" order="first">intem</mytag>
(copied from the actionscript dictionary examples)
the problem is that nothing traces....NOTHING...NADA...ZERO...
all i get is one very empty, very white output window....
if i buid the xml locally with
srs = "<mytag name=\"Val\" order=\"first\">intem</mytag>"
and then i load it with
testXML=new XML(srs);
then everything works out fine....i've tried everything i think is humanly possible and all i got is that my flash won't load xml files.
pleaseeeeeeeeee help me out :confused: :confused: :confused: