Please help! I cant understand the logic behind this. I have two XML files, Myxml1 and Myxml2, that I am loading into the first frame of my movie. Myxml1 contains an attribute with a date value that I need to extract to call up the appropriate node’s attribute in Myxml2. I need to manipulate the date value from Myxml1 by assigning it a variable in order to get to the right node in Myxml2. But the movie is switching the loading order, putting the Xml loading last and all non-XML-related values first. Below is the order I entered and the illogical order of loading I was served by the movie. What’s amiss?
My order of loading:
Load Xml1
Assign “XY” as variable for Xml1 nodes wanted
Manipulate “XY” variable as needed
Load Xml2
Use “XY” to find the appropriate node in Xml2
The movie’s order of loading:
Assigned “XY” (Undefined)
Manipulate “XY” (NAN, because it’s not found)
Use “XY” to find the appropriate node in Xml2 (Undefined)
Load Xml1 (values loaded here)
Load Xml2 (valued loaded here)
My order of loading:
Load Xml1
Assign “XY” as variable for Xml1 nodes wanted
Manipulate “XY” variable as needed
Load Xml2
Use “XY” to find the appropriate node in Xml2
The movie’s order of loading:
Assigned “XY” (Undefined)
Manipulate “XY” (NAN, because it’s not found)
Use “XY” to find the appropriate node in Xml2 (Undefined)
Load Xml1 (values loaded here)
Load Xml2 (valued loaded here)