Free Download

Site Search

 

Top Download

Friday, July 4, 2008

AIR Badge

From Adobe Labs

Additional Seamless Install Badge with new look and feel

Last update: 2/25/2008

Overview

We have been working hard to create an additional seamless install badge sample for launch. Actually, Grant Skinner (gskinner.com) developed this sample badge for us so that it would be available in time for launch. The badge is "BETA QUALITY", so you may discover bugs. Please report any bugs. You can report bugs at Adobe AIR wishlist or on the Adobe AIR forums. We may post updates to this badge sample on this wiki periodically based on feedback.

This sample badge has a new look and feel with additional detection logic and leverages AIR's "launch now" capability.

You should consider using this sample badge if:

  1. Want a new look and feel (it looks cool!)
  2. Intend to continue distributing a beta 3 application until you port to AIR 1.0. (Logic handles these situations much more gracefully)
  3. Want to leverage the application detection and "launch now" feature
  4. Want a simple way to upgrade end users to correct Flash Player version using express install
  5. Want to provide "help" links

Download

Download Install Badge (113 KB)

Features and Capabilities

  1. Leverages SWFObject to upgrade end-user to supported Flash Player version (Version: 9,0,115,0). Badge installer uses SWFObject embed method by Geoff Stearns. Developers can disable this feature.
    • Flash Player detection:
      • If Flash Player is not installed, text and Flash Player download center links are displayed to end-user. End user must install the Flash Player manually
      • If unsupported Flash Player version is installed (Flash Player 7, Flash Player 8, or pre Flash Player 9,0,115,0) , end-user prompted to upgrade the Flash Player inline via the Express Install feature. Upon successful upgrade the install badge is displayed.
  2. Additional detection logic to handle Beta 3 application deployments when end-user has Adobe AIR 1.0 installed. Please see list below for expected behaviors
    • 'Handling for Beta 3 based applications'
      • If application requires Adobe AIR Beta 3 and no Adobe AIR runtime is installed, badge will install Adobe AIR Beta 3 runtime plus application.
      • If application requires Adobe AIR Beta 3 and Adobe AIR Beta 3 is the only installed runtime, badge will install the application only.
      • If application requires Adobe AIR Beta 3 and Adobe AIR 1.0 is installed, badge will display download links requesting end-users to download the Adobe AIR Beta 3 runtime and application manually. The Adobe AIR 1.0 runtime does not support downloading or installing Beta versions.
    • 'Handling of AIR 1.0 based applications
      • 'If application requires Adobe AIR 1.0 and no Adobe AIR runtime is installed, badge will install Adobe AIR 1.0 runtime plus application.
      • If application requires Adobe AIR 1.0 and Adobe AIR 1.0 runtime is installed, badge will install the application only.
      • If application requires Adobe AIR 1.0 and Adobe AIR Beta 3 is installed, badge will install the Adobe AIR 1.0 runtime plus application
  3. Includes capabilities to detect and launch ("launch now") installed applications. Note: Application must have opted-in to be detected and launched. Pleas see Adobe AIR documentation for details on how to make your application detectable.
  4. Provides customizable "help" text and links. This allows end users who encounter problems installing the application to get more information
  5. Customizable text display

Please see the "Getting Started Guide" for features, parameters, documentation. All necessary files including the source code can be found in the .zip file.


Additional Resources


Adobe AIR documentation: http://www.adobe.com/support/documentation/en/air/

Adobe AIR dev guide for Flash: http://livedocs.adobe.com/air/1/devappsflash/

Adobe AIR dev guides for HTML and Ajax: http://livedocs.adobe.com/air/1/devappshtml/

SWFObject documentation: http://blog.deconcept.com/swfobject/

Adobe Developer Center http://www.adobe.com/devnet/air/

No comments: