AIR Sample Application – Movie Trailers

August 25th, 2007

If you haven’t heard Adobe announced that the next dot version of Flash Player will include support for h.264 video and AAC Audio Support (I realize that this is over simplifying it a bit – there are some things that are supported and some things that aren’t – if you want more info – Read Here). Daniel Dura also stated that h.264 / AAC support with be in AIR no later than Air 1.0.

I already have big plans for this. Just for fun, I decided to try and make a prototype of an application that would display movie trailers from Apple. This initial version of the application does nothing more than display an interface very similar to Apple’s Frontrow (see Frontrow at Flickr). Once AIR supports the new h.264 standards, I will integrate the video into this as well. As for now, selecting a video simply opens a web browser to the trailer page. Pressing “f” goes into fullscreen mode.

WARNING: With the Beta version of AIR – if you use the navigateToURL function [ Flex | Javascript ], Firefox will occasionally not take “focus”, especially if you are in Fullscreen mode. So, if you click an item 3 times, if just opened three tabs.

NOTE: Just another great comment about Flex – I build this whole application in about three hours (and most of that was figuring out how to best parse the Apple RSS).

I will release the source code once the full application is complete (this will be part of a bigger application). However, the sample AIR (and again, it doesn’t do a whole lot yet), is available below.

Whoa. You need to install Adobe Flash Player.

AIR, Flex | Comments | Trackback | Del.icio.us | Digg | Technorati Jump to the top of this page

10 comments on “AIR Sample Application – Movie Trailers”

  1. 01

    Hey David, Great job! I like the layout. I also have a question about the install badge that you have. I’m having major trouble getting that to work. How exactly did you do it. and what FLA file did you use. Thanks.

    Mike Huntington at August 26th, 2007 around 5:41 am
    Jump to the top of this page
  2. 02

    I think that there are two versions of the AIR Badge - the original one and the patched one. I think the newest one is here:

    http://download.macromedia.com/pub/labs/air/air_b1_badge_062607.zip

    If that doesn’t fix it - leave a comment and let me know.

    David Tucker at August 26th, 2007 around 6:32 am
    Jump to the top of this page
  3. 03

    Where did you get trailers feed? You’ve done something I want to do for the redesign of my site, but I can’t seem to find a feed to read from.
    Thanks.

    Brenden Reeves at September 24th, 2007 around 5:54 am
    Jump to the top of this page
  4. 04

    Hi David;

    We are the company behind Pronto! a Flex UI framwork for Unified Communications. we are showing this at MAX Monday. I wanted to ask if you know of any good HD video samples in flv format?

    Regards,

    Jon

    Jon at September 29th, 2007 around 5:50 am
    Jump to the top of this page
  5. 05

    Hey David,
    I was wondering if you were planning on updating this app to run on the new version of air. This app does exactly what I want to do with one portion of my site, though I want to make my own feed and have it play flash video. I have a developer working on the site, but we were waiting for you to release whatever code you were going to, or update this code.

    Thanks,
    Brenden

    Brenden Reeves at November 6th, 2007 around 1:10 pm
    Jump to the top of this page
  6. 06

    Brenden,

    I was planning to update this code when the H.264 Video is included with AIR (so it could actually play the video). Initially it was planned to come out in Beta 2, but it didn’t. However, if I get time this week - I will try and update the code.

    David Tucker at November 7th, 2007 around 3:55 am
    Jump to the top of this page
  7. 07

    Great layout. This aaplication is just for me.

    estetik at January 10th, 2008 around 5:39 am
    Jump to the top of this page
  8. 08

    David,
    Any updates?

    Thanks,
    Brenden

    Brenden Reeves at January 11th, 2008 around 2:13 pm
    Jump to the top of this page
  9. 09

    I was wondering if you were planning on updating this app to run on the new version of air. This app does exactly what I want to do with one portion of my site, though I want to make my own feed and have it play flash video. I have a developer working on the site, but we were waiting for you to release whatever code you were going to, or update this code.

    Lpg at May 6th, 2008 around 11:35 am
    Jump to the top of this page
  10. 10

    Great job done. congrats.

    burun estetigi at November 24th, 2008 around 10:26 am
    Jump to the top of this page

Leave a Reply

  •  
  •  
  •  

You can keep track of new comments to this post with the comments feed.

Badges

View David Tucker's profile on LinkedIn
Inside RIA Badge

Community Posts