Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > Adobe AIR

  • Print
  • + Share This
This chapter is from the book

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.

  • + Share This
  • 🔖 Save To Your Account