2. Who is this guy?
■ Freelance Flash Platform Consultant
■ Adobe Community Expert
■ Adobe Certified Instructor
■ Author of quot;Object-Oriented ActionScript 3.0quot;
and several other Flash Platform books
4th-6th June 2008
Edinburgh, Scotland
3. What is AIR?
Adobe® AIR™ is a cross-operating system runtime that allows web
application developers to use their existing web development skills
(HTML, Javascript, Adobe Flash®, Adobe Flex™, Ajax) to build and
deploy rich Internet applications to the desktop.
4th-6th June 2008
Edinburgh, Scotland
4. What is AIR?
Adobe® AIR™ is a cross-operating system runtime that allows web
application developers to use their existing web development skills
(HTML, Javascript, Adobe Flash®, Adobe Flex™, Ajax) to build and
deploy rich Internet applications to the desktop.
Adobe® AIR™ brings your Rich Internet Applications to the Desktop — Flash,
HTML/AJAX and PDF running as a native application.
4th-6th June 2008
Edinburgh, Scotland
6. What will we talk about?
■ Network monitoring
■ Windowing API
■ HTML support
■ FileSystem access
■ SQLite database
■ Drag 'n drop support
■ Clipboard access
■ Update API
4th-6th June 2008
Edinburgh, Scotland
8. How do you build it?
■ Flex Builder
■ Flash CS3
■ Dreamweaver CS3
■ your favorite text editor…
The AIR runtime is available free of charge,
authoring applications is free!
4th-6th June 2008
Edinburgh, Scotland
10. Windowing API
flash.display.NativeWindow
■ create new application windows
■ NativeWindowInitOptions
■ subclass <mx:Window> for Flex
002_Windowing
002_Windowing Flex
4th-6th June 2008
Edinburgh, Scotland
11. HTML support
mx.controls.HTML
■ WebKit HTML engine embedded
■ Rendered as part of the display list
■ Script bridging
003_HTML
003_HTML displaylist
4th-6th June 2008
Edinburgh, Scotland
12. FileSystem access
flash.filesystem.File
■ read, write, create files and folders
■ resolves correct path regardless of OS
■ no ability to launch applications
004_FileSystem
4th-6th June 2008
Edinburgh, Scotland
13. SQLite database
flash.data.SQLConnection
■ SQL database saved a single file
■ Run queries using SQLStatement class
■ Prevent SQL injection using parameters
005_SQLite
4th-6th June 2008
Edinburgh, Scotland
14. Drag 'n drop support
flash.desktop.NativeDragManager
■ drag between AIR and native apps
■ accepts different formats
■ define a drag out image
006_DragDrop
4th-6th June 2008
Edinburgh, Scotland
16. Update API
flash.desktop.Updater
■ AIR runtime handles updates
■ Updater class allows self-updating
■ Requires an online resource to check
008_Update
4th-6th June 2008
Edinburgh, Scotland