4 Replies Latest reply on Jan 3, 2008 4:49 PM by Newsgroup_User

    Attack of the missing data

    Tigomark Level 1
      Hello all,

      I have this lovely little list

      Code:

      <mx:TileList dataProvider="{tempXML.asset.fleet}"
      width="344" backgroundColor="#000000" color="#ff0000" fontSize="27" borderColor="#000000" columnWidth="300" rowHeight="50" themeColor="#808080" fontWeight="bold" allowMultipleSelection="true" id="tilelist1" height="0" y="202" x="178"/>
      <mx:XMLListCollection id="tempXMLList" source="{tempXML.asset}" />

      That I am trying to set up a refresh function

      Code:

      private function resetForm():void{


      tempXML.asset = tempXML.asset;
      }

      Now when I click the refresh button this is associated with my hover over refreshes however it does not appear that it accually goes back and refreshes the xml data at

      Code:

      <mx:XML id="tempXML" source=" http://mysite.net/interface.php?username=admin&amp;password=pass&amp;customer=13&amp;actio n=showopen&amp;operation=showassets&amp;format=xml&amp;opstatus=crit" />

      I'm not sure if I'm having a caching issue or if there is something else wrong.

      Any help is much appreciated