1 Reply Latest reply on Aug 2, 2011 2:44 AM by david_a_clark

    CSAWIDEXPORTER problem

    sameer kariwala

      Hi Friends,

       

      I am having problem in generating SWC file using CSAWIDEXPORTER Library.

       

      I have successfully compiled Csawidexporter with no warning.

       

      I am not generating SWC file when mock balaned is unchecked.

       

      I am getting till moack balanced is checked as mention in getting-started-with-csawidexporter.pdf.

       

      I debugged into code i found out it is throwing exception in

       

      AppController.as file at

       

      (!model.mockBackend)

       

      var unapp:Object = InDesign.app as Object;

       

      // Windows at least, the trailing File.separator is needed

       

       

      unapp.dommygeneratecode(model.templateFileAsString, computedSrcPath.nativePath + File.separator);

      }

       

      it is throwing exception at

      unapp.dommygeneratecode(model.templateFileAsString, computedSrcPath.nativePath + File.separator);

       

      Please help on this, i will be highly obliged for any answer.

      Thanks

      sameer

       

      if

      {

       

      generate() in