Hey all~
I'm completly new to javascript, and am having trouble figuring this out:
var exportOptions = new ExportOptionsFlash();
var formatType = ExportType.FLASH;
var fileName= new File("~/test.swf");
exportOptions.resolution = 100;
app.activeDocument.exportFile(fileName, formatType, exportOptions);
This works fine.
...But how do I use the property: backgroundLayers?
Say I just want the first 2 layers of my file to be exported, would this work?
I realize that I need a "list of layers to be included as the static background of the exported Flash frames", but can't figure out the syntax to do this. Any help is greatly appreciated!!!
- Sam