3 Replies Latest reply on Jun 17, 2008 9:42 AM by ntsiii

    HTTPService::ArrayCollection::DataGrid

    jwoozy
      the code:

      <mx:Script <[[CDATA[
      public var file:ArrayCollection = new ArrayCollection();

      public function resultHandler(event:ResultEvent){
      //arraycollection assignemnt
      }
      public function faultHandler(event:FaultEvent){
      //alert
      }

      ]]>

      <mx:HTTPService id="http" url="random.XML"
      result="resultHandler(event)"
      fault="faultHandler(event)"/>

      <mx:ArraryCollection id="ac" dataProvider="{http.lastResult.etc.etc.etc}" />

      <mx:DataGrid id="dg" dataProvider="{ac}" />

      For whatever reason this isn't working. the dataprovider specifically is causing me issues. thoughts?