Skip navigation
Currently Being Moderated

FXD export from InDesign CS5, js

May 8, 2012 8:18 PM

Hi,

 

I need to export InDesign file as fxg. I assume it will be something similar to exporting pdf, but I am definitely missing something. Here is what I have:

 

 

 

myDoc = app.activeDocument;
myDocPath = myDoc.filePath;
mySplit = myDoc.name.indexOf (".");
myFXGName = myDoc.name.slice (0,mySplit);
var myRootPath = myDocPath.parent.fsName;  
myFXGFullName = myFXGName + ".fxg";
 
 
     //   var myFXGExportPreset = app.fxgExportPresets.item("ExportPDFCS5");
 
 
        
    myDoc.exportFile(
        ExportFormat.fxgType,
        File(myRootPath + "/" + myFXGFullName),
        false, 
        // myFXGExportPreset
    );

   

 

 

 

Thank you for your help.

Yulia

 
Replies
  • Currently Being Moderated
    May 9, 2012 1:15 AM   in reply to Yuliaart

    What is "ExportFormat.fxgType"? It's nowhere in my Help, so it's probably not defined.

     

    You cannot set 'anything you like' as "Export Format", InDesign must support the format to begin with. You may be missing that.

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    May 10, 2012 7:57 AM   in reply to Yuliaart

    To be absolutely clear, InDesign has no support for FXG (Flash XML Graphics).

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points