Hi All,
I am exploring AssetDragDrop example from Creative Suite SDK Examples. It worked well with local files but not with remote file.
I explored how to drag drop remote file from AIR, I found that URLFilePromise need to use for same (Found some example on web).
I changed handleFileDragStart as bellow but InDesign does not accept that drop. Here is modified method.
var urlFileP:URLFilePromise = new URLFilePromise();
urlFileP.request = new URLRequest("{server image url}");
//Also checked with by providing relative path
urlFileP.relativePath = "C:\\SomeFolder\\1.jpg";
var array:Array = new Array();
array.push(urlFileP);
urlFileP = new URLFilePromise();
urlFileP.request = new URLRequest("{server image url}");
urlFileP.relativePath = "C:\\SomeFolder\\2.jpg";
array.push(urlFileP);
event.clipboard.setData(ClipboardFormats.FILE_PROMISE_LIST_FORMAT,arr ay);
does anybody know ClipboardFormats.FILE_PROMISE_LIST_FORMAT is supported in InDesign
Thanks,
Vikram
North America
Europe, Middle East and Africa
Asia Pacific