1 Reply Latest reply on Jul 31, 2007 7:20 PM by ntsiii

    Load IMAGE from XML

    George Donn
      XML:
      private var myBooks:XML =
      <books>
      <book>

      <title>Something</title>
      <price>$0.00</price>
      <source>assets/image1.jpg</source>
      </book>
      </books>
      MXML for image:
      <mx:Image x="272" y="1" width="375" height="338" source="{myBooks.book[selectedBookIndex].source}"/>



      Am I doing this right? I can load all my data into textfields but i can not get the product image to load.

      Thanks again!