0 Replies Latest reply on Jul 17, 2007 6:44 AM by Kifahhk

    RssReader Problem

    Kifahhk
      hello i am not biggener in Flex and Action Script but this problem encounterd me when i try to run my SWF in embed code and send it xml file as parameter.
      here is the code i write to get data from xml file

      public function init(urli:String):void
      {
      httpreq=new HTTPService();
      httpreq.url=urli;
      httpreq.useProxy=false;
      httpreq.addEventListener(ResultEvent.RESULT, filldata);
      httpreq.send();
      }
      private function filldata(event:ResultEvent):void
      {
      Alert.show("Done");
      }


      This code is working when the send parameter is Xml files with utf-8 encoding
      but xml files with iso-8859-1 encoding disallow the the event to complete so Alert.show("Done") doesn't run