Copy-and-paste and drag-and-drop operations are a standardized way for users to interact with an application, so it's a good idea to build these behaviors into AIR applications. For example, if you build an application that displays images from a network source, many users would expect and appreciate the ability to save copies of the images locally by dragging the image from the AIR application to the desktop.
This chapter covers the following topics:
This chapter appears in Adobe AIR in Action, published January 2009. It is being reproduced here by permission from Manning Publications. Manning early access books and ebooks are sold exclusively through Manning. Visit the book's page for more information. Use the code "adobe35" to get a 35% discount.
In order to make the most of this article, you need the following software and files:
Working knowledge of Adobe AIR.
Joey Lott has deep professional experience using Adobe technologies such as Flex, Flash, and ActionScript. Joey is the author (or co-author) of ActionScript Cookbook, Programming Flash Communication Server, and the Flash 8 Cookbook and several other related books. With coauthor Sam Ahn, he is a partner and founder of The Morphic Group.
Kathryn Rotondo is a software developer at Schematic. She received a graduate certificate in software engineering from the Harvard Extension School and a certificate in Flash from the Rhode Island School of Design.
Sam Ahn has architected and built RIAs over the past seven years for clients including Pfizer, Wyeth, MINIUSA, and Puma. Along with co-author Joey Lott, he is a partner and founder of The Morphic Group, an interactive development company focusing on Flash/Flex application development.
Ashley Atkins is a senior software developer at Six Red Marbles, and has over six years of experience developing in ActionScript. His range of work extends from creating simple educational interactions to architecting and developing applications in Flex and AIR.