0 Replies Latest reply on Jul 17, 2009 9:39 PM by aaravind

    pls help me with this situation..problem with Air build

    aaravind Level 1

      pls help me with this situation

       

      I coded an application in flex air,Writng to and reading from xml is a small part of it,,,

      var newXMLStr:String = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + details1.toXMLString();
      var fs:FileStream = new FileStream();
      fs.open(file, FileMode.WRITE);

       

      this is how i write in xml and so i read it too...

      Its properly working when i run in the flex...

       

      But my problem is

       

      When i export it and make the rellease build and run it the xml cannot be read or written'

      I gave alert at different points..

      After fs.open(file, FileMode.WRITE);the alert doesnt work

       

      The problem must be here,,,,

       

      Any reply for this is welcomed

       

      Regards

       

      Aravind