I guess the initial attempt seemed easy, I just needed to create helper classes one for the Air project and one for the Web-only project that provide handlers for the DRAG_ENTER, DRAG_OVER & DRAG_DROP (& their related NATIVE events) that just handle MouseEvents . On the Air app the helper would need to check the type of the MouseEvent and either handle it or pass it onto the Web-only drag helper. The Web-only app doesnt have a choice. This allows DnD within the app and from desktop to app.
>From app to desktop tho I am unsure how to proceed. It seems the drag initiator is specific to the end location, if dragging from app to desktop use flash.desktop.DragManager if within the app then use mx.managers.DragManager but there is no way to tell the intent of the drag. I guess one way would be to always initiate a drag with mx.managers.DragManager and if its possible to check whether the drag has crossed the application Window then turn it into a flash.desktop.DragManager ? Anyone have any experience with this? Ivo --- In [email protected], ivo <[EMAIL PROTECTED]> wrote: > > Hey all, > > I am trying to get Drag and Drop deals with both Drag and Drop from the local filesystem as well as within the application itself. I see there are two APIs for Drag and Drop, each with its own DragManager and distinct events. Has anyone worked on encapsulating these two on a single API? My app should be used both on the web and as an air app with little modifications so I am about to start looking into this. > > Thanks, > > - Ivo >

