CustomChrome ShotI had some problems getting custom chrome to work with Apollo, and also getting a code behind files to work.

I am one of those people who is a bit of a tidy freak with code, and try as much as I can to seperate things sensiably. I also find I much rather developing functionality in ActionScript 3 rather than MXML, so it makes sence to seperate my AS3 from MXML where possiable.

This example turnes off all the system chrome, and uses a background image, to apply a drop shadow, and also has custom “close”, “minimise” and dragable application bar.

I am sure this isn’t perfect (like having the creationComplete called from the MXML) so let me know if you have any sugestions!

Apollo runtime (needed to run apollo apps)

CustomChrome (.air install file)

CustomChromeSource ( Flex2 source code )

Please use this as you choose, if you find it useful let me know or click some ads ;)

This entry was posted on Monday, April 16th, 2007 at 11:04 pm and is filed under ActionScript, AIR, Flex. You can leave a comment and follow any responses to this entry through the RSS 2.0 feed.

5 Comments Leave a comment

  1. Dark0 16 April 2007 at 11:27 pm #

    Shouldn’t you be in bed… or listening to Marilyn Manson?

    I know which I’m doing….

  2. [...] noticed in my incoming links the other day that come chap called Chui-Wen Chiu has posted my Apollo custom chrome example in [...]

  3. mk 28 June 2007 at 12:04 am #

    cool example, but i do notice some flickering when you try to resize too fast.

  4. Rob 28 June 2007 at 8:22 am #

    Not sure there is anything you can do about that. If anything it’s down to how AIR works :(

  5. naisioxerloro 29 November 2007 at 10:11 am #

    Hi. Good design, who made it?

Leave a Reply