1 Reply Latest reply on Jan 9, 2008 2:17 AM by atta707

    TileList and XML


      I have an XML data in the following format....
      <product id="1">
      <name>USB Watch</name>

      I have a tilelist in which I display 10-20 images ..the XML is just a snapshot. But what I get out on the screen nothing but for the only words [Object Object]. I read somewhere in the forum that we should not use lastresult.

      Can someone post corrections to the code below ?

      The MXML code

      <?xml version="1.0"?>
      <!-- dpcontrols/TileListDemo.mxml -->
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml"
      backgroundAlpha="0" creationComplete="srv.send()">

      <mx:HTTPService id="srv" url="catalog.xml" useProxy="false"/>

      <mx:TileList dataProvider="{srv.lastResult.catalog.product}"
      height="100%" width="100%"
      rowHeight="250" columnWidth="175"/>

      I apologize if this is the wrong forum, but I am now using Flex Builder 3.