1 person found this helpful
I think setData is expecting to be passed an array of File objects (see: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/Clipboard .html). From the stacktrace it sounds like you're trying to pass in a vector of objects. To debug this I would change the code to simply pass in a new array containing one file irregardless of what is selected in the list, make sure that works, and then try using the selected items. If you do have a vector rather than an array then you can convert it by creating a new array and iterating over the vector elements, adding each to the array.
Hope that helps,
Awesome Louis, That worked I created a file array and I'm able to place that.
When one drag any idms file from palette to indesign it gets loaded in placegun instead of seamless drag and drop in InDesign. Could it be made possible by any way ?