"AIR Debug Launcher" app is not drag and drop enabled in osx
I am doing an AIR app that needs drag and drop functionalities. And to optimize the workflow the most- I would like to have it possible to dr开发者_开发知识库ag files into the "AIR Debug Launcher" and react to the dispatching NativeDragEvents. But in OSX this does not work? ex.: the icon in the dock does not react when dragging a file over it (no focus), like photoshop for example does. Is anybody else experiencing this? I have tried both the AIR 2.7 ADL and AIR Beta (3.0). I am using the 2.7 SDK. Using FDT.
NativeDragManager.isSupported is true. Compiled AIR app works fine with the events.
Thanks in advance.
you must declare the file type associations in the application descriptor file.
so if your AIR application wanted to handle Photoshop files (.psd), you must include this in your application descriptor file:
<fileTypes>
<fileType>
<extension>psd</extension>
</fileType>
</fileTypes>
more here: AIR application descriptor elements
精彩评论