Sorry for the OT, but anyone here work with Fireworks JSF commands at all?

if so email me off list if you have time to look at a simple command that isn't working.  It runs, but no images are saved;)

for(i=1;i<20;i++)
{
    var sc = i*.05;
    var fileName = "scaled_" + sc*100;

    fw.getDocumentDOM().exportOptions.crop = true;
    fw.getDocumentDOM().exportOptions.exportFormat = "PNG";
    fw.getDocumentDOM().exportOptions.percentScale = sc;
    fw.getDocumentDOM().exportOptions.useScale = true;
    var obj = fw.getDocumentDOM().exportOptions;

    fw.getDocumentDOM().exportTo(fileName, obj);
}

Thanks for your help,

--
John Grden - Blitz
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to