4 Replies Latest reply on Jul 26, 2010 3:25 AM by rootsounds

    problem with <mx:String>

    manishmulani Level 1

      Hello all,

       

      I've a file which contains json data (say json.txt )

       

      In my flex code, I want a string to hold this text.

       

      so, I did <mx:String id="jsonString" source="json.txt" />

       

      it gave me some error saying righparen expected. the problem is with the sort of text contained in the file which has some "double quotes"

       

      because I replaced json.txt with some other file and it worked fine.

       

      Does anyone know how to get around with this problem??

       

      Thanks,

      Manish