Adobe AIR 1.5 Cookbook(影印版)
Adobe AIR 1.5 Cookbook(影印版)
David Tucker, Marco Casario, Koen De Weggheleire, Rich Tretola
出版时间:2009年04月
页数:418
完全由Adobe公司的AIR开发团队审核的《Adobe AIR 1.5 Cookbook》,叙述了Web开发者和应用程序设计者最希望了解的最佳实践、基本原理以及主题。本书中的实战技巧可以帮助你解决在使用Adobe AIR建立桌面的富互联网应用程序(Rich Internet Appliction)时所遇到的各种任务和情景。这是通过即学即用的实践解决方案学习Adobe AIR微妙之处的理想方式,并且本书详细解释了它们为何及如何运作。这些技巧可以帮助你:

* 使用Flex、Flash或HTML和Ajax建立AIR应用程序
* 创建数据库并连接至你的应用程序
* 为PC和Mac整合原生菜单
* 与Service Monitor Framework共同运作
* 利用Adobe AIR Update Framework
* 利用自定义chrome和应用程序图标创建标志性的桌面体验
* 使用Seamless Install Badge发布AIR应用程序

还有更多。《Adobe AIR 1.5 Cookbook》包含了许多AIR开发团队中新进明星的秘诀,如David Tucker、Rich Tretola、Marco Casario和Koen De Weggheleire,以及由Adobe和O'Reilly主办的《Adobe AIR 1.5 Cookbook》社区站点(www.adobe.com/go/air_cookbook)上许多访问者张贴的最佳解决方案。如果你已经准备好利用Adobe AIR来扩展你的技能,那么这本书就是你期待已久的。

“这本书史无前例地涵盖了Adobe AIR 1.5和AIR开发的一切,你甚至找不到一个更好的创作团队来帮你了解这些。当我从事AIR开发时,这本书是除了我的键盘之外,另一个不可或缺的工具。”
—— Lee Brimelow
Platform Evangelist, Adobe Systems, Inc.

David Tucker,就职于Universal Mind公司,是一名从事Flex和AIR应用程序设计的软件工程师。
Marco Casario,拥有Comtaste公司,一家致力于探索RIA新领域的公司。

Koen De Weggheleire,任教于比利时西法兰德斯省理工大学(Technical University of West Flanders),教授Flash平台解决方案。
Rich Tretola,Herff Jones公司的富互联网应用技术主管,也是InsideRIA.com网站的社区经理。
  1. Foreword
  2. Credits
  3. Preface
  4. 1. AIR Basics
  5. 1.1 Creating and Running an AIR Application with Flex Builder 3
  6. 1.2 Creating and Running an AIR Application with Flash
  7. 1.3 Creating and Running an AIR Application with HTML and
  8. JavaScript
  9. 1.4 Debugging an AIR Application with JavaScript
  10. 1.5 Signing and Exporting an AIR Application
  11. 1.6 Signing an AIR File with a Trusted Certificate
  12. 1.7 Understanding Synchronous and Asynchronous Programming in
  13. AIR
  14. 2. Application Settings
  15. 2.1 Targeting a Specific Version of AIR
  16. 2.2 Setting the Application ID
  17. 2.3 Setting the Application Name and Filename
  18. 2.4 Setting the Application Version
  19. 2.5 Editing the Application Description and Copyright Information
  20. 2.6 Editing the Initial Window Settings
  21. 2.7 Setting the Installation Folder for an Application
  22. 2.8 Setting the Default Program Menu Folder
  23. 2.9 Setting a Custom Application Icon
  24. 2.10 Allowing an AIR Application to Interact with the Browser
  25. 2.11 Setting the Application to Handle All Updates
  26. 2.12 Determining the Application Version at Runtime
  27. 2.13 Creating Multilingual AIR Installations
  28. 3. Application Windows
  29. 3.1 Changing the Main Application Window
  30. 3.2 Launching a New Window in ActionScript
  31. 3.3 Launching a New Window (Flex)
  32. 3.4 Launching a New Window (JavaScript)
  33. 3.5 Creating Utility Windows
  34. 3.6 Creating Lightweight Windows
  35. 3.7 Creating a Full-Screen Window
  36. 3.8 Managing Multiple Windows
  37. 3.9 Creating Windows with Custom Chrome
  38. 3.10 Minimizing and Maximizing a Window
  39. 3.11 Resizing a Window
  40. 3.12 Closing a Window
  41. 3.13 Displaying a Prompt Before Closing a Window
  42. 3.14 Closing All Open Windows at Once
  43. 3.15 Adding a Drop Shadow to a Custom Chrome Window in
  44. ActionScript
  45. 3.16 Applying a Pixel Bender Filter to a Custom Chrome Window in
  46. ActionScript
  47. 4. Screens
  48. 4.1 Positioning Windows on the Desktop
  49. 4.2 Positioning Windows Across Multiple Monitors
  50. 4.3 Determining the Monitors on Which an Application Is Currently
  51. Displayed
  52. 5. HTML Content
  53. 5.1 Displaying HTML Content
  54. 5.2 Accessing JavaScript from ActionScript in an HTML Container
  55. 5.3 Accessing ActionScript from JavaScript in an HTML Container
  56. 5.4 Scripting the DOM from ActionScript
  57. 5.5 Accessing and Editing an HTML Style Sheet from ActionScript
  58. 5.6 Accessing the HTML Container History List
  59. 5.7 Bridging Content from Different Security Sandboxes
  60. 5.8 Creating JavaScript Functions from ActionScript
  61. 5.9 Scrolling HTML Content in ActionScript
  62. 5.10 Using ActionScript Libraries Within an HTML Page
  63. 6. PDF Support
  64. 6.1 Detecting Whether PDF Support Is Available
  65. 6.2 Loading a PDF Document
  66. 6.3 Communicating from AIR to PDF
  67. 6.4 Communicating from PDF to AIR
  68. 7. Clipboard Support
  69. 7.1 Working with the Clipboard Data Types
  70. 7.2 Adding Data to the Operating System Clipboard
  71. 7.3 Retrieving Data from the Operating System Clipboard
  72. 7.4 Clearing Data from a Clipboard
  73. 7.5 Using Deferred Rendering with Clipboard Data
  74. 7.6 Creating Custom Clipboard Data Formats
  75. 8. Drag and Drop Support
  76. 8.1 Dragging Data Out of an Application in ActionScript
  77. 8.2 Dragging Data Out of an Application in JavaScript
  78. 8.3 Dragging Data Into an Application in ActionScript
  79. 8.4 Dragging Data Into an Application in JavaScript
  80. 8.5 Dragging and Dropping Within an Application in ActionScript
  81. 8.6 Dragging and Dropping Within an Application in JavaScript
  82. 9. File System Integration
  83. 9.1 Accessing Directory Aliases in the File Class
  84. 9.2 Creating a New File or Directory
  85. 9.3 Deleting a File or Directory
  86. 9.4 Copying a File or Directory
  87. 9.5 Moving a File or Directory
  88. 9.6 Moving a File or Directory to the Trash
  89. 9.7 Prompting the User to Select a File or Directory
  90. 9.8 Reading Data from a File
  91. 9.9 Writing Data to a File
  92. 9.10 Creating a Temporary File or Directory
  93. 9.11 Caching Images to Disk in ActionScript
  94. 9.12 Searching for Files of a Given Extension in a Directory in
  95. ActionScript
  96. 9.13 Migrating Serialization Changes in ActionScript
  97. 10. Embedded SQL Database Programming
  98. 10.1 Creating a Database
  99. 10.2 Connecting to a Database in Synchronous Mode
  100. 10.3 Connecting to a Database in Asynchronous Mode
  101. 10.4 Creating an In-Memory Database
  102. 10.5 Creating an Encrypted Database
  103. 10.6 Encrypting a Database with a Password
  104. 10.7 Creating Tables in a Database
  105. 10.8 Querying a Database Synchronously
  106. 10.9 Querying a Database Asynchronously
  107. 10.10 Retrieving Results from a Query
  108. 10.11 Using Parameters in Queries
  109. 10.12 Including a Database in an Application
  110. 10.13 Persisting Application Settings
  111. 11. Encrypted Local Store
  112. 11.1 Storing Data in the Encrypted Local Store
  113. 11.2 Retrieving Data from the Encrypted Local Store
  114. 11.3 Removing and Resetting Data in the Encrypted Local Store
  115. 11.4 Storing Application-Specific Data in the Encrypted Local Store
  116. 11.5 Safeguarding Files with Encrypted Local Store
  117. 12. Application and Window Native Menus
  118. 12.1 Creating a Native Menu
  119. 12.2 Responding to Menu Events
  120. 12.3 Adding a Menu Separator
  121. 12.4 Creating Nested Menus
  122. 12.5 Creating a Native Window Menu (Windows)
  123. 12.6 Creating a Native Window Menu (Mac)
  124. 12.7 Creating a Context Menu (ActionScript)
  125. 12.8 Creating a Context Menu (JavaScript)
  126. 12.9 Assigning Keyboard Shortcuts to Menu Items
  127. 12.10 Enabling and Disabling Menu Items
  128. 12.11 Toggling Menu Items
  129. 13. Taskbar and Dock Integration
  130. 13.1 Adding an Icon to the System Tray (Windows)
  131. 13.2 Adding a Custom Menu to the System Tray Icon (Windows)
  132. 13.3 Adding a Custom Menu to the Dock Icon (Mac)
  133. 13.4 Changing the System Tray or Dock Icon
  134. 13.5 Notifying the User Through the Dock (Mac)
  135. 13.6 Notifying the User Through the Taskbar (Windows)
  136. 14. File Types
  137. 14.1 Registering Custom File Types
  138. 14.2 Determining Whether an Application Is the Default Application for
  139. a File Type
  140. 14.3 Setting and Removing an Application as the Default Application
  141. for a File Type
  142. 14.4 Getting the Path of the Default Application for a File Type
  143. 15. Service Monitor Framework
  144. 15.1 Including the Service Monitor Framework in an Application
  145. (JavaScript)
  146. 15.2 Including the Service Monitor Framework in an Application
  147. (Flash)
  148. 15.3 Monitoring the Connection to a URL
  149. 15.4 Reading Only the Head of a URL
  150. 15.5 Monitoring the Connection to a Specific Port on a Server 367
  151. 16. Application Updates
  152. 16.1 Creating Applications with Update Capabilities
  153. 16.2 Creating Custom Update Interfaces for Applications with Update
  154. Capabilities
  155. 17. AIR Application Distribution with the Browser API
  156. 17.1 Including the Browser API
  157. 17.2 Detecting the Installed Version of AIR
  158. 17.3 Launching an AIR Application from the Browser
  159. 17.4 Installing an AIR Application from the Browser
  160. 17.5 Using the Included Seamless Install Badge
  161. Index
书名:Adobe AIR 1.5 Cookbook(影印版)
国内出版社:东南大学出版社
出版时间:2009年04月
页数:418
书号:978-7-5641-1633-0
原版书出版商:O'Reilly Media
David Tucker
 
David Tucker is a software engineer with Universal Mind (http://www.universalmind
.com) and is located in Savannah, Georgia. David’s current focus is developing the next
generation of rich Internet applications with Adobe AIR, Flex, and Flash. David is the
author of the AIR for Flash Developers video training series (Lynda.com, 2008). David
has worked on a variety of development platforms including ColdFusion and PHP.
When David does not have a computer in front of him, he is probably playing guitar.
David writes regularly at http://www.insideria.com, and his blog can be found at http:
//www.davidtucker.net.
 
 
Marco Casario
 
Marco Casario is the founder and CTO of Comtaste (http://www.comtaste.com), a
company dedicated to exploring new frontiers in rich Internet applications in the enterprise
field. He’s an Adobe Community Expert, an Adobe Master Instructor for Flex,
and a professional speaker at international conferences like Adobe MAX, Flash on the
Beach, 360Flex, FITC, AJAXWorld, and Web 2.0 Expo. Marco is the author of Flex
Solutions: Essential Techniques for Flex 3 Developers (friends of ED, 2007) and The
Essential Guide to AIR with Flash (friends of ED, 2008), as well as a coauthor of Advanced
AIR Applications (friends of ED, 2009). He runs his well-known personal blog
at http://casario.blogs.com.
 
 
Koen De Weggheleire
 
Koen De Weggheleire is a faculty member of the Technical University of West-
Flanders (HOWEST) where he teaches Flash Platform solutions (Flash, Flex, and AIR)
with a smile. As the Adobe User Group manager for Belgium (http://www.adobeu
sergroup.be) and Adobe Community Expert for Flash, Koen is heavily addicted to the
community; he inspires the community by his blog at http://www.newmovieclip.com
and by speaking at several events (Adobe MAX, FITC, 360 Flex, Flashbelt, Flash in the
Can, and Flash on the Beach). Koen also is a coauthor of Foundation Flex for Developers
(friends of ED, 2007). When there is still some time left, you can find Koen at his
company, Happy-Banana, together with Wouter Verweirder doing Flash Platform consultancy
on advanced, award-winning rich Internet applications. When Koen is not
talking ActionScript, you can find him producing music, collecting goodies, eating
pizza, or renovating his 100-year-old house.
 
 
Rich Tretola
 
Rich Tretola currently is the rich applications technical lead at Herff Jones. An awardwinning
Flex developer, he is the lead author of Professional Flex 2 (Wrox, 2007) and
the sole author of Beginning AIR (Wrox, 2008). Rich has been building Internet applications
for more than 10 years and has worked with Flex since the original Royale beta
version of Flex in 2003. Other than Flex, Rich builds applications using ColdFusion,
Flash, and Java. Rich is highly regarded within the Flex community as an expert in RIA
and is also an Adobe Community Expert. He runs a popular Flex and AIR blog at http:
//everythingflex.com, is the community manager of http://insideria.com, and was also a
speaker at the Adobe MAX 2007 conference in Chicago. Rich will be speaking at MAX
2008 in San Francisco. For a nontechnical escape, Rich is also a co-owner of a company
that manufactures chocolate bars located on Maui named WowWee Maui.
 
 
The animal on the cover is a marsh harrier.
The cover image is from Wood’s Animate Creation. The cover font is Adobe ITC
Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed;
and the code font is LucasFont’s TheSansMonoCondensed.