Hey there,
I'm trying to export PageItem (TextFrame for instance) to bitmap (JPG) asynchronously, so my computer wouldn't freeze while working.
I looked in the manual and found that PageItem instance has function called asynchronousExportFile.
I've used PageItem.exportFile a lot, so I thought that PageItem.asynchronousExportFile would work too. Unfortunately, I got runtime error.
Any ideas how to use this function without runtime error?
CODE:
var task:BackgroundTask = pageItem.asynchronousExportFile(ExportFormat.JPG, myFile, false);
ERROR:
Error: This file format cannot be exported asynchronously at flash.external::HostObject/__call() at com.adobe.csawlib::CSHostObject/hostCall() at com.adobe.indesign::PageItem/asynchronousExportFile() ...
Thanks
Peter
Hey!
Unfortunately, asynchronousExportFile supports only PDF file format export.
Hope that helps.
--
tomaxxi