There are lots of examples out there on the web of how to make you application window have no system chrome (the default system window close, minimise etc), but I was having problems getting it to work with my Flex project.

Most advice tells you to change some settings in the yourAppName-app.xml file:

<rootcontent systemchrome="none" transparent="true" visible="true">yourAppName.swf</rootcontent>

and then add some mx css:

      background-color: "";
      background-image: "";
      padding: 0px;

However this wasn’t removing the default Flex system chrome that you get when developing in MXML and ActionScript3.

I managed to find a comment on theflexblog which pointed out that you need to make sure you don’t use the ApolloApplication mxml tag and instead just use the Application tag.

This took me a while to discover, especially with the Adobe live docs being very much dead… especially for Alpha Apollo. To make it worse all my code is behind the main mxml file in an AS class (Aral like) so I had to make sure my main class extended Application and not ApolloApplication…

So anyway, hope that helps someone out there!

This entry was posted on Friday, April 13th, 2007 at 6:46 pm and is filed under ActionScript, AIR, Development, Flex. You can leave a comment and follow any responses to this entry through the RSS 2.0 feed.

2 Comments Leave a comment

  1. David 23 June 2007 at 11:10 pm #

    Very useful, I ran into the exact same thing.

  2. John 31 January 2008 at 10:44 pm #

    Man, I was losing my mind. In Flex 3, this also works…dont use WindowedApplication, but simply Application, and for me I made sure the CSS mas in the mx:Style as well as shown above in your post!

    Thanks man!

Leave a Reply