Use the SWFLoader for loading Flash swf into Flex

It was a welcome change to do a little bit of Flash/Flex programming after a heavy dose of WPF ;-) .

The AIR app

In a recent internal project I had to build a simple movie player for a bunch of SWFs created in Flash. The player itself was more like a showcase tool that would loop through these movies and do some transitions as it changed movies. The player was supposed to run fullscreen on a really LARGE display. When the player starts out, you will be presented with a screen where you pick the directory that contains the SWF files. After you pick the directory, the app identifies all valid movie files and loads thumnails of the SWF movies. Clicking the top-right play button would hide this screen and then start playing the movies fullscreen. Continue reading