6 Replies Latest reply on Feb 24, 2011 6:01 AM by mario@superconfigure

    HTTPService + List not always populating...

    mario@superconfigure

      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009
                     xmlns:s="library://ns.adobe.com/flex/spark" 
                     xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" backgroundColor="#D38811"
                     applicationComplete="init();">

       


      ---


      // List is NOT always populated ???
      protected function init():void{
                  
          Provider.send();   
      }

       

      ---

       

      <fx:Declarations>
          <s:HTTPService id="Provider" url="http://yup.allgood.valid/perfect.xml" />
      </fx:Declarations>
          
      <s:List dataProvider="{Provider.lastResult.foo.bar}" change="ICP_changeHandler(event)" x="39" y="78" height="534" width="121" enabled="true" id="ICP_list"></s:List>  

       

      ----------------------------------------

       

      What can cause the above list to fail to get properly populated?

      Worked perfectly fine until I hosted the app elsewhere....

       

      Thanks