1 Reply Latest reply on Feb 26, 2009 2:23 PM by Gregory Lafrance

    Flex vs Air

    konamdot
      I'm trying to load Twitter data via Flex and Air --- my Flex application pulls back data every time without fail yet my Air application throws the following error (Load failed: IO error: Error #2032) --- can anyone help me with this issue --- snip of the code below

      var urltwitter:String = twitterURL+TwitName+"."+twitterFormat+"?count="+twitterCount;
      var myXML:XML = new XML();
      var XML_URL:String = urltwitter;
      myXMLURL = new URLRequest(XML_URL);
      myLoader = new URLLoader(myXMLURL);
      myLoader.addEventListener("complete", xmlLoaded);
      myLoader.addEventListener("fault", faultHandler);
      myLoader.addEventListener(IOErrorEvent.IO_ERROR, handleIOError);
      myLoader.addEventListener(HTTPStatusEvent.HTTP_STATUS, handleHttpStatus);
      myLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, handleSecurityError);