- Drag and Drop in an Application (DragManager Class)
- Drag and Drop Between the OS and the Application (NativeDragManager)
- Drag and Drop Items into an AIR Application from the OS
- Drag Items into the dpTimeTracker Application
- Drag Items from an AIR Application to the OS
- Drag Items into the OS
- Next Steps
Drag and Drop Between the OS and the Application (NativeDragManager)
When building an AIR application that allows users to drag items to and from the OS, you will need to use the NativeDragManager class, which is responsible for handling drag-and-drop operations with the OS. The NativeDragManager handles the dragged items a bit differently than the DragManager you examined in the last section. It uses the computer’s clipboard to pass data between objects, rather than passing the data in a dragSource object. Further, it imposes additional security restrictions as you are moving data in and out of an application. Fortunately, many of the functions and events used by the NativeDragManager are very similar to those in DragManager.