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.




10 comments on “AIR Sample Application – Movie Trailers”
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.
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.
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.
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
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
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.
07
Great layout. This aaplication is just for me.
08
David,
Any updates?
Thanks,
Brenden
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.
10
Great job done. congrats.
Leave a Reply