New Toronto Group

AIR 2.6: Building Beyond the Browser with Adobe Flex 4 New Toronto Group


This training course provides a comprehensive introduction to the Adobe Integration Runtime 2.6 for Adobe Flex 4 or Flex 4.5 developers. It consists of 29 hands-on exercises with supporting content and files, and a comprehensive 8 part independent lab exercise.



2 Days


Register for NTG Training

AIR 2.6: Building Beyond the Browser with Adobe Flex 4




New Toronto Group

4 Robert Speck Parkway, Suite 240

Mississauga ON L4Z 1S1,



Toll Free: 866-464-7790

Office: 905-897-7790

Fax: 905-897-9952

After pressing Submit, someone from New Toronto Group will call/email to confirm registration details, answer questions and take payment.


Completion of the Adobe Flex 4 (or Flex 4.5): Developing Rich Internet Applications training course, or a similar level of experience with Adobe Flex 4 Experience with XML and SQL.


Software developers who have taken the Adobe Flex 4 (or Flex 4.5): Developing Rich Internet Applications training course, or who have a similar range of experience developing with Adobe Flex 4.


Lesson 1: Introducing the Course

  • Introducing Mastery Learning
  • Understanding the Course Format
  • Reviewing the Course Prerequisites
  • Reviewing the Course Outline

Lesson 2: Introducing the Adobe Integrated Runtime (AIR)

  • Exploring the AIR development toolset
  • Understanding the runtime application
  • Understanding Adobe AIR 2.6
  • Understanding the Adobe AIR SDK
  • Looking at Flash Builder 4
  • Reviewing the Adobe AIR tools for Flash Builder 4
  • Creating AIR projects
  • Exporting AIR applications

Lesson 3: Getting started with AIR

  • Creating your first AIR application
  • Creating an AIR project
  • Creating a main application
  • Getting help and other resources
  • Help inside Flash Builder
  • AIR 2.6 URLs

Lesson 4: Using the file system

  • Using the File class
  • Accessing common directories
  • Referencing a file or directory
  • Moving and copying file system objects
  • Walkthrough 1: Using the File class
  • Enabling visual file system interaction
  • Allowing user to specify files or directories
  • Introducing the file browsing components
  • Walkthrough 2: Use file system browsing and display components
  • Removing files from the file system
  • Determining the File object type
  • Recycling or deleting file system objects
  • Walkthrough 3: Interacting with visually specified File objects
  • Launching files in their default application
  • Loading and launching files
  • Walkthrough 4: Launching files in their default client application

Lesson 5: Advanced file system techniques

  • Using file streams
  • Reading and writing files
  • Walkthrough 1: Create a directory or UTF-8 (Unicode) text file
  • Working with binary data
  • Using the ByteArray class
  • Walkthrough 2: Read, modify, and write a binary file to the desktop
  • Working with mass storage devices
  • Reading and writing from attached devices
  • Displaying, copying, and moving Files on a storage device
  • Walkthrough 3: Mounting, displaying files, and copying to mass storage devices

Lesson 6: Using the clipboard

  • Moving data with copy and paste
  • Understanding the Clipboard
  • Using the generalClipboard
  • Writing data to the clipboard
  • Getting data from the clipboard
  • Walkthrough 1: Moving data to and from the system clipboard
  • Using drag and drop
  • Introducing the drag and drop stages
  • Deciding between the Flex and AIR APIs for drag and drop
  • Walkthrough 2: Drag images from the operating system into the application

Lesson 7: Persisting application data

  • Using an embedded SQL database
  • Understanding the database file
  • Opening a database
  • Creating a database
  • Walkthrough 1: Create a new database
  • Using SQL statements
  • Creating and executing a SQL statement
  • Handling returned data
  • Walkthrough 2: Create a table, then insert, retrieve, and display records
  • Storing and loading complex data
  • Base types stored by SQLite
  • Column affinities supported by AIR
  • Storing and retrieving binary image data
  • Walkthrough 3: Use date/time and BLOB data

Lesson 8: Creating native windows

  • Creating windows
  • Defining a window with MXML
  • Instantiating an MXML window with ActionScript
  • Opening and closing window components
  • Walkthrough 1: Create, open, and close a native window
  • Modifying the window display
  • Changing the window chrome
  • Changing the window type
  • Using full screen display
  • Walkthrough 2: Control window chrome, and full screen display
  • Manipulating windows
  • Referring to a window object
  • Manipulating a window
  • Handling window events
  • Walkthrough 3: Control window behaviors when system chrome is removed

Lesson 9: Connecting applications

  • Launching and interacting with native operating system processes
  • Launching a native process from AIR
  • Walkthrough 1: Launching and using a native process to perform a screen capture
  • Communicating between applications
  • Using the LocalConnection class
  • Walkthrough 2: Connect to and call a method in another AIR application
  • Connecting to web applications using URL Requests over HTTP
  • Requesting a URL via HTTP
  • Using the URLRequest class
  • Using the URLVariables class
  • Using the URLLoader class
  • Using the Base64Encoder class
  • Walkthrough 3: Interact with a remote service using posted URL data
  • Displaying HTML content
  • Understanding the HTMLLoader class
  • Using the¬†component
  • Walkthrough 4: Load HTML into an AIR application
  • Detecting network availability
  • Monitoring network state changes
  • Detecting HTTP resource availability
  • Detecting Socket connectivity
  • Walkthrough 5: Add network detection

Lesson 10: Understanding AIR security

  • Considering AIR security
  • Introducing AIR security
  • Introducing security sandboxes
  • Introducing AIR security best practices
  • Detecting AIR capabilities
  • Walkthrough 1: Respond to player capability
  • Using encrypted data storage
  • Walkthrough 2: Using encrypted local storage
  • Understanding AIR application updating
  • Using the Updater class
  • Determining current version at runtime
  • Walkthrough 3: Verifying versioning during application update
  • Encrypting local database files
  • Implementing database encryption
  • Walkthrough 4: Creating an encrypted local database

Lesson 11: Customizing Deployment

  • Setting the application¬ís desktop icon
  • Using application icons
  • Walkthrough 1: Add application icons
  • Setting system tray icon
  • Addressing the nativeApplication
  • Walkthrough 2: Adding a system tray icon

LAB: Creating the PhotoLab application using Flex 4, AIR 2.6, and LiveCycle Collaboration Services

  • Introducing the PhotoLab application
  • Understanding the lab structure
  • Examining and running the solution code
  • Walkthrough 1: Create the main application file, skin, styling and data handling
  • Walkthrough 2: Use a Window dialog to import file system images for display
  • Walkthrough 3: Enable adding photos using desktop drag and drop
  • Walkthrough 4: Open a selected image in its default desktop application
  • Walkthrough 5: Import images from an external mass storage device
  • Walkthrough 6: Use a native process to capture and display a screen shot
  • Walkthrough 7: Persist PhotoLab data in a local SQL database
  • Walkthrough 8: Implement image sharing using Adobe LiveCycle Collaboration Services