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

Opening a new Window in Adobe AIR

$
0
0
The following example shows how you can launch a new Flex Window container in Adobe AIR by creating a custom Window component and calling the open() method. <?xml version="1.0" encoding="utf-8"?> <!-- http://airexamples.com/2010/03/12/opening-a-new-window-in-adobe-air/ --> <mx:WindowedApplication name="Window_open_test" xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white">   <mx:Script> <![CDATA[ import mx.core.Window;   protected function btn_clickHandler(evt:MouseEvent):void { new MyWin().open(); } ]]> </mx:Script>   […]

Viewing all articles
Browse latest Browse all 10

Trending Articles