Getting Started with Adobe AIR 1.5

  • Published on

  • View

  • Download

Embed Size (px)


Flex Camp Chicago 2009 presentation by Elad Elrom showing getting started with Adobe AIR as well as AIR 1.5 / Flash 10 capabilities.


<ul><li> 1. Getting Started with Adobe AIR Flex Camp Chicago 2009</li></ul> <p> 2. Who Am I? </p> <ul><li>Independent Consultant </li></ul> <ul><li>Technical Lead </li></ul> <ul><li>Author and technical writer </li></ul> <p> 3. Adobe AIR Presentation Agenda: </p> <ul><li>-Intro and overview </li></ul> <ul><li>Showing sample AIR apps </li></ul> <ul><li>Installing &amp; Building apps </li></ul> <ul><li>Signing &amp; deploying app </li></ul> <ul><li>- questions </li></ul> <p> 4. What is Adobe AIR? Adobe Integrated Runtime (AIR) is a cross-operation system runtime, that allows developers to leverage their existing Web knowledge skills in HTML, Ajax, XML, Flash and Flex to build and deploy Rich Internet Application (RIA) on the desktop and soon on Mobile devices. 5. Adobe AIR architecture 6. Adobe AIR 1.5 &amp; Flash 10 7. 3D Effects The Flash Player 10 3D tool API allows you to take any pixel or container and move it around in a 3D space. 8. Custom Filters &amp; Effects The Pixel Bender just-in- time (JIT) compiler can also be leveraged and used to process other data, such as sound or logic. 9. Text Layout Framework Text Layout Framework (TLF) is Adobe new Flash framework for dealing with text consist of set of classes in Flash Player 10 that brings print-quality to the web and allow you to create multilingual web applications using device fonts. 10. Enhanced Sound API Dynamic sound generation the sound APIs allow creating sound dynamically and generate audio applications such as music mixers. You can work with loaded MP3 audio at a lower level by extracting audio data and supplying it to the sound buffer. It allows to process, filter, and mix audio in real time using the Pixel Bender compiler. Speex audio codec In addition to supporting ADPCM, HE-AAC, MP3, and Nellymoser audio.Flash 10 also support new, high fidelity open source voice codec called Speex (, which deliver low-latency for voice encoding and adds to the Microphone class. 11. Visual Performance </p> <ul><li>Hardware </li></ul> <ul><li>Acceleration </li></ul> <ul><li>Vector </li></ul> <ul><li>Dynamic </li></ul> <ul><li>Streaming </li></ul> <ul><li>Color correction </li></ul> <p> 12. Enhance Drawing API Winding fill- When two shapes used to intercepts we used to have an empty hole.Winding fill means that we have an area fill as long as we have the winding in the same direction. UV Maps used in After Effects and other Adobe Video products and allow mapping on a 3D space. Graphics.drawPath Uses a list of drawing commands and coordinate to create a pixel. Graphics.drawTriangles Take Vector data and renders a set of triangles, typically to distort containers and give them a 3D z dimension. 13. Reading writing local files Flash Player 10 has exposed two new APIs in FileReference: load and save. 14. File I/O API AIR allows you to access the local file system on the client machine the same as native OS programs.You can do common operations such as reading, writing, moving and renaming. File.copyTo() vs File.copyToAsync() File.deleteDirectory() vs File.deleteDirectoryAsync() File.deleteFile() vs File.deleteFileAsync() 15. Local storage and Encrypted SQLite Adobe AIR 1.5 closed a security gap.All AIR applications are using the exact same database, so essentially any AIR application can read other applications database. 16. Application Update and Notification API AIR 1.5 updated the Updater API and assist you updating an existing application.In AIR 1.5 you can actually change the certificate of the application.To update an application the application ID and the publisher ID should match. 17. Network Awareness AIR is built to run in conditions where the network connection is changing.There is an event being lunched every time the application connect and disconnect from the internet allowing you to create an application that have network connection awareness.air.NativeApplication.nativeApplication.addEventListener(air.Event.NETWORK_CHANGE, onNetworkChange); var socketMonitor:SocketMonitor = new SocketMonitor('', 80);socketMonitor.addEventListener(StatusEvent.STATUS, statusChangeEventHandler);socketMonitor.start(); 18. Native Windowing API and Chrom Control There are three types of windows: Normal- A normal typical window Utility- A tool palette Lightweight- Lightweight windows with no chrome 19. Example Of AIR Applications </p> <ul><li>Pandora </li></ul> <ul><li>Google Analytics Reporting Suite </li></ul> <ul><li>EarthBrowser </li></ul> <ul><li>YouTube Mobile </li></ul> <p> 20. Pandora 21. Google Analytic 22. Earth Browser 23. Mobile YouTube http:// = extensionDetail&amp;extid =1729023 24. Web Browser Adobe AIR App 25. Custom Menus 26. Shameless Self Promoting Blog: blog LinkedIn: eladelrom Twitter: eladnyc Books: elrom</p>


View more >