Quantcast
Channel: AIR Examples
Viewing all articles
Browse latest Browse all 10

Keeping a WindowedApplication on top of other windows in Adobe AIR

$
0
0
The following example shows how you can keep a WindowedApplication container on top of other windows in Adobe AIR by setting the Boolean alwaysInFront property. <?xml version="1.0" encoding="utf-8"?> <!-- http://airexamples.com/2010/03/12/keeping-a-windowedapplication-on-top-of-other-windows-in-adobe-air/ --> <mx:WindowedApplication name="WindowedApplication_alwaysInFront_test" xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white" alwaysInFront="{checkBox.selected}">   <mx:ApplicationControlBar dock="true"> <mx:Form styleName="plain"> <mx:FormItem label="alwaysInFront:"> <mx:CheckBox id="checkBox" /> </mx:FormItem> </mx:Form> </mx:ApplicationControlBar>   </mx:WindowedApplication>

Viewing all articles
Browse latest Browse all 10

Trending Articles