3 Replies Latest reply on Oct 19, 2009 4:04 PM by bnther

    Thumbnails won't populate the TileList

    bnther Level 1

      I've got a folder full of thumbnails that I'm trying to bring into a TileList via XML and so far the solution has managed to avoid me.  I don't have any errors and that kind of adds to the difficutly.  Any help would be appreciated.

       

      I call for the XML here:

       

      <mx:HTTPService
              id="service"
              url="photos.xml"
              resultFormat="e4x"/>

       

      And I do my TileList here:

       

      <mx:TileList id="photosTileList"
           dataProvider="{service.lastResult.photo}"
           width="100%"
           height="100%"
           labelField="@thumb">
          
          <mx:itemRenderer>
              <mx:Component>
                  <mx:Image horizontalAlign="center"
                      source="{data.@thumb}"
                      width="160"
                      height="100"/>
              </mx:Component>
          </mx:itemRenderer>
      </mx:TileList>