14 Replies Latest reply on May 29, 2010 2:55 AM by David_F57

    How to Filter E4x Xml data in a tile list?

    EMelville Level 1

      Hello!

       

      I'm simply trying to use a search box for some xml data I have in a tile list. Can anyone point me in the right direction?

       

      Here's the tile list:

       

      <mx:HTTPService id="GetXmlService"

      resultFormat="e4x"         

      fault="getXMLFault(event);"

      result="getXMLResult(event);"

      showBusyCursor="true" /> 

       

      <mx:TileList id="tileList"

      dataProvider="{GetXmlService.lastResult.image}"

      itemRenderer="CustomItemRenderer"

      columnCount="4"

      columnWidth="125"

      rowCount="2"

      rowHeight="150"

      themeColor="haloSilver"

      verticalScrollPolicy="on"

      itemClick="tileList_itemClick(event);" backgroundAlpha="0" height="487" borderStyle="none" y="30" right="10" left="10"/>

       

      And here's the XML Data:

       

      <?xml version="1.0"?>

      <gallery>

      <image username="People1"  rating="5" insession="yes" />

      </gallery>