1 Reply Latest reply on Jan 4, 2009 2:58 PM by mikeyjray

    loading an image from an xml file

    mikeyjray Level 1
      I'm trying to load an image title "(1).jpg" from an xml file into a flash applet. I'm not an expert, but I think the code should work to store the image name, as I have it written correctly in my xml document. Below is the code I am using.

      In this code, the line defining "image = _root.floorplan;" is where it SHOULD be getting the information from the details.xml file. If I change this code to read "image = "(1).jpg;" it loads fine.

      Am I not storing the value of the xml node properly, or not calling for it properly?