Wabysabi

The Personal and Professional website of Daniel Wabyick

Monday, September 8, 2008

DirecTV launches NFL streaming video application built with Adobe AIR

Supercast DirecTV screenshot
I’m excited to share with you the launch of Supercast, a premium service for DirecTV subscribers that allows viewers to watch all NFL games in high-quality h264 video encoding, while getting the latest scores, plays, and highlights.

While Flash video in the browser is great, the AIR application leverages a number of desktop API’s to improve the viewing experience, while providing DRM support that makes this type of application viable to media companies like DirecTV.

I think this project also proves there is commercial viability for AIR applications. Its probably the first AIR app that you can’t install, which is too bad because its one of the best. Definitely check it out if you have NFL Sunday ticket.

While I got to get my coding mitts in early on the project, the lion’s share of the application was built out by two talented consulting groups - Blitz Agency and gskinner.com. Congrats!

posted by admin at 2:39 pm  

Wednesday, July 16, 2008

Desktop Keeley - Killer AIR app


Ok, this is not the most tasteful AIR app, but it is technically one of the best. By leveraging Flash transparent video and AIR transparent windows, they’ve managed to create an app that cleverly interacts with your desktop experience. Its also pretty fun to play around with! Hats off to The Sun UK in creating such an innovative app! Check it out here.

posted by admin at 3:34 pm  

Tuesday, March 18, 2008

AIR Example - Native Drag-n-Drop and Clipboard Integration

Chart Export Screenshot

AIR provides some great API’s for integrating with other applications. Via the NativeDragManager and Clipboard classes, you can easily export your data in a multitude of formats, including PNG and CSV. Recently I had an project that utilized these features, and I figured it would be good to share the techniques with the community.

In particular this example, framed as a basic stock chart application, demonstrates the following features:

  • Native drag-and-drop with PNG images and custom image proxies.
  • Copy to Clipboard / Export with both PNG and CSV data formats - Right-click on the chart to get your options
  • Example code for customizing the HLOCChart class look-and-feel

These features were factored into ‘behavior’ classes so that they can (fairly) easily be applied to your own AIR apps.

This application requires the following be installed:
  1. Adobe AIR Runtime
  2. AIR Clipboard Example
Please click on each link in the order above to complete the installation process.

Source is available by right-clicking and selecting ‘view-source’ in the application from anywhere but the chart.

posted by admin at 1:10 pm  

Wednesday, January 30, 2008

Embedding AIR Badges on Wordpress via Kimili Plugin

In my last post, I wanted to distribute a sample AIR application via the user-friendly badge installation process. After taking a look at the available options, I came across an excellent Flash embedding solution for Wordpress called Kimili. Kimili is a Wordpress friendly wrapper on top of Geoff Stearns excellent SWFObject Javascript library.

I thought I would share my code snippet for my previous post in order to help the next person who was trying to get AIR badges in Wordpress going:

[kml_flashembed movie="/examples/airchrome/badge.swf" height="140" width="217" fid="badge" bgcolor="#181818" fvars="appname=ResizableAIRChromeExample ; appurl=http://www.wabysabi.com...ChromeExample.air ; airversion=1.0.M6 ; messagecolor=999999 ; imageurl=http://www.wabysabi.com...airchrome/badge.png" fversion="9.0.63" allowscriptaccess="always" scale="noscale" wmode="transparent" / ]

Two side-notes:

  • The Kimili plugin delimits flashvars with semicolons bracketed by spaces (e.g. ” ; “). I’m not sure why it requires this odd syntax, but things won’t work if you eliminate the spaces.
  • I added a space betwen the closing bracket of the tag so that Wordpress wouldn’t interpret it. The correct syntax should be “/]”.

Thanks to Michael Bester for the great library!

posted by admin at 9:26 am  

Tuesday, January 29, 2008

Example AIR App - Dynamically Resizing Windows based on Content Area

Resizable AIR Chrome Screenshot

** Updated for AIR 1.0 02/25/2008 **

The AIR windowing API offers some exciting new possibilities, and challenges, for Flash developers. With the Employee Directory Sample Application, we showcased a well-designed, real-world application that dynamically resizes itself to a changing content area. This is a powerful technique that simply isn’t possible within the confines of a browser window.

I thought it would be useful to distill this capability from the more complex directory application and provide a simple ‘kick-start’ application that demonstrates:

  • Leveraging transparent windows to create high-quality custom window chrome with drop-shadows.
  • Using the Flex Resize effect and event listeners to dynamically size a NativeWindow to the size of a changing content area
  • Simple PNG-centric CSS styling example with advanced text anti-aliasing applied.

You may install via the AIR badge below, or if you have less than 9,0,63, you will have to manually install the runtime and AIR file:

This application requires the following be installed:
  1. Adobe AIR Runtime
  2. Example AIR Chrome Application
Please click on each link in the order above to complete the installation process.

Source is available by right-clicking and selecting ‘view-source’ in the application.

One other factor with resizable applications not covered in this sample app is automatically keeping the application onscreen as the application resizes. This is a challenging problem that is addressed in the directory application (via a fairly convoluted solution), but is not covered here. Something I definitely hope to address more clearly in the future. Definitely check out the Employee Directory if you haven’t already.

posted by admin at 5:04 pm  

Monday, October 1, 2007

Employee Directory V2 Released on Adobe

NOTE: Updated URL’s to adobe.com

Employee Directory V2 Screenshot
Just thought I would announce the re-release of the Employee Directory AIR application on Labs. I am excited to show off what I think is a very useful corporate directory application that provides a better experience for finding fellow employees and conference rooms.

Technically, the application is probably not the best place for pure beginners to learn Flex and AIR, as it was built using best practices for extensible medium to large applications. That said, it is a great starting point for building your own corporate directory application - its very similar to what we’re using internally at Adobe.

Some of the AIR features demonstrated:

  • Offline data storage using SQL API’s
  • Resizable, transparent windows with automatic position management
  • Data synchronization and automatic application updates

Check out the sample application here.

posted by admin at 9:15 am  

Wednesday, June 27, 2007

Employee Directory AIR application on Dev Center

Employee Directory Screenshot
I am pleased to announce that Adobe has released an AIR sample application that I worked on. The application is designed to be a lightweight company directory application that allows searching for employees and navigating through the management hierarchy.

From a technical standpoint, I think the application really shines. Not only does it demonstrate a number of cool AIR features, including the SQL API, but its pretty easy to integrate your own employee image and data sources, so it may actually be useful. Adobe is using an extended version of the app internally.

Feel free to contact me if you are trying to integrate the app and would like some tips.

posted by admin at 10:49 am  

Powered by WordPress