I am trying to construct a seating plan using a movie clip and an external XML file.
The external XML file holds the seat number and the seat booking status Y or N
I can load the external XML file successfully and draw the seating plan on the screen.
The problem arises when I try to assign the seat status from the xml file to the movie clip I get an “undefined” in the trace window. I believe this is happening because the movie clips are being drawn before the XML file data is loaded.
To correct this I tried setting the XML load code on Frame 1 and the code for drawing the seating plan on frame 2. Interestingly the seating plan on frame 2 appears to draw before the XML file loads (frame 1) - as shown in the trace window output.
.xml and .fla files attached.
Can anyone help?