I have used the following event and respective event handler in canvas.
nativeDragEnter="canvas1_nativeDragEnterHandler(event)"
nativeDragExit="canvas1_nativeDragExitHandler(event)"
nativeDragDrop="canvas1_nativeDragDropHandler(event)"
nativeDragComplete="canvas1_nativeDragCompleteHandler(event)"
It gives type error like
TypeError: Error #1034: Type Coercion failed: cannot convert mx.events::DragEvent@18b51741 to mx.events.DragEvent. at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.4.0\frameworks\pr ojects\framework\src\mx\core\UIComponent.as:9408] at mx.managers::NativeDragManagerImpl/_dispatchDragEvent()[C:\autobuild\ galaga\frameworks\projects\airframework\src\mx\managers\NativeDragMana gerImpl.as:625]
at mx.managers::NativeDragManagerImpl/nativeDragEventHandler()[C:\autobu ild\galaga\frameworks\projects\airframework\src\mx\managers\NativeDrag ManagerImpl.as:598]
thanks Harbs, inDesign plugin dev is new to me, now uisng trace() instead debuging , but does inDesing follow any other lib's to achive drag drop feacility instead of NativeDragEvents of flex sdk 3.4?, coz i have to " d n d " mutiple files at a time on to inDesign document from my plugin application, (idms/indd/indt/images/textfiles) ..thanks in advance
North America
Europe, Middle East and Africa
Asia Pacific