<mx:WindowedApplication
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
showFlexChrome="false"
height="{ Capabilities.screenResolutionY}"
width="{ Capabilities.screenResolutionX}"
creationComplete="init()">
<mx:Script>
<![CDATA[
function init(){
this.nativeWindow.x = 0
this.nativeWindow.y = 0
}
]]>
</mx:Script>
5 comments:
Thanks for the post! I have a question: What if you want to get rid of the application bar at the top (and have it be truly fullscreen?)
its actually very simple just do this: set showFlexChrome="false" property and have ur own controls for AIR window.
Sweet, works like a charm. Thanks!
:) thanks
Perfect snipit - thanks for posting this.
Post a Comment