Using Flash CS3 and AIR to Build Desktop Applications



Similar documents
Deepak Patil (Technical Director) iasys Technologies Pvt. Ltd.

Adobe Creative Suite 4 Web Standard

BASIC COMPONENTS. There are 3 basic components in every Apache Cordova project:

Adobe Flash Player and Adobe AIR security

Legal notices. Legal notices. For legal notices, see

RIA DEVELOPMENT OPTIONS - AIR VS. SILVERLIGHT

Adobe Flash Professional CS6

Getting Started with ADOBE elearning SUITE 6

Introducing Apache Pivot. Greg Brown, Todd Volkert 6/10/2010

Comparative Analysis of Various Automated Test Tools for Flex Application

Using Adobe AIR for Online Help

Rich Internet Applications

Accessing Data with ADOBE FLEX 4.6

Adobe Flash Catalyst CS5.5

Adobe Solutions for Learning Management Systems (LMS)

Image Upload Known Issues...3. Implementing the Block...4. Using Adobe SWC files...4. Configuring in Flash...5

Adobe ColdFusion 11 Enterprise Edition

Chapter 12: Advanced topic Web 2.0

Outline. CIW Web Design Specialist. Course Content

Operations Dashboard for ArcGIS: Extending the Functionality

ebooks: From Adobe InDesign to the Kindle Store

Table of contents. HTML5 Data Bindings SEO DMXzone

Web Design Specialist

AUTOMATED CONFERENCE CD-ROM BUILDER AN OPEN SOURCE APPROACH Stefan Karastanev

Adobe AIR 1.5 for Linux

Best practices building multi-platform apps. John Hasthorpe & Josh Venman

AJAX Storage: A Look at Flash Cookies and Internet Explorer Persistence

1 Building, Deploying and Testing DPES application

Sabre Red Apps. Developer Toolkit Overview. October 2014

Firefox for Android. Reviewer s Guide. Contact us: press@mozilla.com

Jay Yu. January. Web Programmer & Designer

Adobe Flash Professional CS5.5

Developing and deploying mobile apps

[PACKTl. Flash Development for Android Cookbook. Flash, Flex, and AIR. Joseph Labrecque. Over 90 recipes to build exciting Android applications with

ArcGIS Viewer for Silverlight An Introduction

Mobile Development Frameworks Overview. Understand the pros and cons of using different mobile development frameworks for mobile projects.

2012 LABVANTAGE Solutions, Inc. All Rights Reserved.

(Based on Flash Technology) By Shikai Chen Ver

1. To ensure the appropriate level of security, you will need Microsoft Windows XP or above.

Internet Explorer Settings for Optum CareTracker

QML and JavaScript for Native App Development

*Not include in promotion. Update 12 November 2014

Whitepaper. Rich Internet Applications. Frameworks Evaluation. Document reference: TSL-SES-WP0001 Januar

FreeConference SharePlus TM. Desktop Sharing User Guide. SharePlus TM Desktop Sharing User Guide

An introduction to creating Web 2.0 applications in Rational Application Developer Version 8.0

Aspire Systems - Experience in Digital Marketing and Social Media

Behavioral Advertising

By Kundan Singh Oct Communication

Content Protection in Silverlight. Microsoft Corporation

How to pick the right development model for your next mobile project

EasyPush Push Notifications Extension for ios

Adobe Certified Expert Program

Analysis of Cross-Platform Development Frameworks for a Smartphone Pediatric Application

Developing Apps with the ArcGIS Runtime SDK for Android. Ben Ramseth Esri Inc. Instructor Technical Lead

Adobe ColdFusion (2016 release) Enterprise Edition

Rich Internet Applications

The 8 th International Scientific Conference elearning and software for Education Bucharest, April 26-27, / X

Supporting High-Quality Printing in Web Applications with ArcGIS for Server

ABL Advisor :: Online Advertising Specifications

Google Web Toolkit (GWT) Architectural Impact on Enterprise Web Application

Retool your HTML/JavaScript to go Mobile

Adobe Productivity and Creativity Tool

Senior IT manager s guide to customer experience management

... Introduction Acknowledgments... 19

How To Write An Ria Application

Developing multi-platform mobile applications: doing it right. Mihail Ivanchev

All About Android WHAT IS ANDROID?

Electronic Ticket and Check-in System for Indico Conferences

The In-Stream LogoKit is an In-Stream linear and non-linear ad format that plays in VPAID-compliant video players. The ad displays icons in the

Mobile App Infrastructure for Cross-Platform Deployment (N11-38)

Dave Haseman, Ross. Hightower. Mobile Development for SAP* ^>. Galileo Press. Bonn. Boston

New Features for Sybase Mobile SDK and Runtime. Sybase Unwired Platform 2.1 ESD #2

WHITE PAPER on Flex to HTML5 The Migration Challenge. April 2014

SafeWebApp QuickStart

DIPLOMA IN GRAPHIC WEB DESIGN AND WEB DEVELOPMENT COURSE INFO PACK

Installed Applications Summary... 1

MyMedia With the Desktop genie App User Manual

System Planning, Deployment, and Best Practices Guide

Adobe Experience Manager Apps

Cross-Platform Tools

Understanding Evolution's Architecture A Technical Overview

ni.com Remote Connectivity with LabVIEW

Installing Oracle 12c Enterprise on Windows 7 64-Bit

ArcGIS Web Mapping. Sam Berg, esri

Software Development & Education Center PHP 5

Transcription:

605 Using Flash CS3 and AIR to Build Desktop Applications Dan Carr, Dan Carr Design www.elearningguild.com

November 11-14, 2008 San Jose, CA Session Overview Using Flash CS3 and Adobe AIR to Build Desktop Applications Dan Carr November 13, 2008 3:00 4:15 PM 1. AIR Basics 2. Installation and Development in Flash CS3 3. Extended ActionScript API 4. Demo: Building a simple desktop application AIR Basics AIR (Adobe Integrated Runtime) is a runtime technology built on top of the WebKit open-source browser, Flash Player 9, and ActionScript 3.0 Publishing to the AIR format from Flash Professional creates an installer deployed desktop application The AIR runtime and AIR applications can be seamlessly installed from a regular web-based Flash movie AIR adds an extended ActionScript API and a desktop level security sandbox AIR applications can interact with the user s system Development Environments AIR applications can be developed in the following software: 1. FlexBuilder 3 2. AIR SDK (command line) 3. Dreamweaver (HTML, AJAX, JavaScript) 4. Flash CS3/CS4 Professional 5. 3 rd Party (FlashDevelop, etc.) Installation in Flash CS3 Installation is an easy two-step process. Installation files: 1. Install the AIR runtime 2. Install the Flash CS3 Update for AIR Get the installation files and more information at: http://www.adobe.com/products/air/develop/flash/ Note: Flash CS4 includes native support for publishing to AIR format. Development Process Developing an AIR application in Flash follows the same process as any other type of Flash project, but adds a new set of Publish Settings to the mix. Workflow: 1. Work in an ActionScript 3.0 file as usual 2. Use the FLA s Publish Settings and Commands menu to configure the AIR file 3. Test movie to see the AIR API active in Flash CS3 4. Publish the AIR application from Publish Settings or the Publish AIR command (Publish in CS4) Session 605 Using Flash CS3 and AIR to Build Desktop Applications Dan Carr, Dan Carr Design Page 1

November 11-14, 2008 San Jose, CA Extended ActionScript API 1. Includes all of the web-based ActionScript APIs 2. Option for synchronous or asynchronous behavior with system functions and HTTP calls 3. HTML loader, native windows, & native menus 4. Access to the local file system 5. Access to clipboard and desktop 6. Ability to connect to local SQL-based databases 7. Ability to monitor the network connection 8. Ability to display PDF content internally Demo: Building a Simple AIR Application 1. Create an application in an ActionScript 3.0 FLA file 2. Switch the Publish Settings to AIR 1.0 3. Setup the installer using the Commands menu 4. Create a self-signed certificate 5. Publish the AIR file 6. Launch the installer to test Resources Dan Carr Design www.dancarrdesign.com Adobe Developer Center http://www.adobe.com/devnet/air/flash/ Beginning Adobe AIR Author Rich Tretola, O reilly books Session 605 Using Flash CS3 and AIR to Build Desktop Applications Dan Carr, Dan Carr Design Page 2

Using Flash CS3 and the AIR to Build Desktop Applications Thursday, November 13, 3:00 pm Session 605 Presented by Dan Carr dan@dancarrdesign.com Overview The Adobe Integrated Runtime (AIR) is a multi-platform runtime for building desktop applications. The true power of AIR lies in its ability to tie into the desktop and web environments seamlessly using development techniques you most likely already know. This session will show you how easy it is to use Flash CS3 to create a desktop application deployed to the AIR runtime. You ll explore options for development environments, the basics of working with AIR in Flash CS3, and the step by step process of creating a Flash movie with full local file system access. Session topics The elements of the AIR runtime Development environments and technology options How to work with AIR in Flash CS3 How to publish a Flash application to AIR format How to work with the extended ActionScript 3.0 API for AIR How to work with badge.swf and air.swf Audience This topic is of interest to beginning to intermediate level developers who are interesting in an overview of the technology and the specifics of working with AIR in Flash CS3. Adobe Integrated Runtime (AIR) The Adobe Integrated Runtime is built on top of Flash Player 9, ActionScript 3.0, and the WebKit HTML/JavaScript engine. Essentially AIR adds to Flash the ability to run from the desktop with extended system access and functionality unavailable to network-based Flash movies. But AIR is not just about Flash. In fact you don t have to use Flash at all if you prefer other mediums. AIR allows web developers to take knowledge in web technologies they already use to create full-fledged desktop applications. Development Environments AIR is not necessarily about Flash. AIR applications can be built using a handful of different development environments including:

Flash CS3 and higher Flex Builder 2 and Higher Flex/AIR SDK (command line compiler) Dreamweaver CS3 and higher Aptana Studio The AJAX and JavaScript communities were some of the early supporters of AIR developing desktop applications in non-flash based web technologies. The Flex community hopped onboard with the early implementation of ActionScript 3.0. And last but not least the Flash community joined the game when the Flash CS3 updater for AIR was released. Look for new communities to join the mix as AIR moves toward mobile integration in the near future. Extended ActionScript 3.0 API One of the most impressive things about the AIR runtime is the APIs it adds to the already feature packed ActionScript 3.0 language. The extended API allows you access to the following features: Includes all of the web-based ActionScript APIs Extends the security sandbox for many of the features limited on the web Option for synchronous or asynchronous behavior with system functions and HTTP calls HTML loader, native windows, & native menus Access to the local file system Access to clipboard and desktop Ability to connect to local SQL-based databases Ability to monitor the network connection Ability to display PDF content internally And many more details For developers who choose to work with JavaScript, AJAX, and HTML, there is a JavaScript wrapper for the AIR portions of the API. Customizing the Experience Using badge.swf and air.swf Adobe provides utilities for connecting the browser environment to the AIR desktop environment. The utilities come in the form of SWF files which can be loaded from the Adobe domain called badge.swf and air.swf. The SWF files has the ability to: Check to see if the runtime is available on the user s computer Download the runtime for installation if needed (seamless install feature) Check to see if an AIR application exists on the desktop from a browser Check the version of the AIR application. Download the application or updates to the application as needed

More Resources: For general information and downloads visit the Adobe website: http://www.adobe.com/products/air/ http://www.adobe.com/devnet/air/flash/ For documentation on working with AIR and Flash CS3, please visit: http://livedocs.adobe.com/air/1/devappsflash/ For documentation on ActionScript 3.0 including the AIR APIs, please visit: http://livedocs.adobe.com/flash/9.0/actionscriptlangrefv3/index.html For information about working with Flash to create desktop applications backward compatible to Flash Player 6.r65, please see the following: http://www.adobe.com/devnet/flash/articles/local_network_playback.html