0 Replies Latest reply on Jul 17, 2006 8:45 PM by zrowthterm

    HTTPService doesn't update in stand alone Flash Player

    zrowthterm
      So I was wondering why HTTPService refuses to update the result when I call the send function, when I run the application in the stand alone flash player. Works just fine if it runs in Firefox (from a html file)...

      Any ideas why?

      Here's the code:
      <?xml version="1.0"?>
      <mx:Application
      xmlns:mx=" http://www.adobe.com/2006/mxml"
      width="100%" height="100%" creationComplete="timeMaker.send()">
      <mx:HTTPService
      id="timeMaker"
      resultFormat="text"
      url=" http://www.cs.iastate.edu/~zrow/misc/curTime.php"
      useProxy="false" />
      <mx:VBox width="100%" height="100%">
      <mx:TextArea width="100%" height="100%" text="{timeMaker.lastResult.toString()}"/>
      <mx:Button label="Update" click="timeMaker.send()"/>
      </mx:VBox>

      </mx:Application>