Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 97529

Tutorial: How do i click single with window from Air Application?

$
0
0

Hello, dear Sirs and dear Ladies,

 

i have found result that you would like to access one-clidck with window after they window don't open much instance again. I want tell you about Adobe Air Application Solutions.

 

Without access via one click:

 

private var exAboutWin:ExampleAboutWindow;


protected function accessWithoutoneClickHandler(event:MouseEvent):void
{
  exAboutWin = new ExampleAboutWindow();  exAboutWin.systemChrome = NativeWindowSystemChrome.STANDARD;  exAboutWin.type = NativeWindowType.UTILITY;  exAboutWin.resizable = false;  exAboutWin.title = "About Air Application";  exAboutWin.open(true);
}

 

With access via one click:

protected function accessWithoneClickHandler(event:MouseEvent):void
{  for (var i:int = 0; i < 1; i++)  {  if(!nativeApplication.openedWindows[1])  {  exAboutWin = new ExampleAboutWindow();  exAboutWin.systemChrome = NativeWindowSystemChrome.STANDARD;  exAboutWin.type = NativeWindowType.UTILITY;  exAboutWin.resizable = false;  exAboutWin.title = "About Air Application";  exAboutWin.open(true);  }  }
}

 

There are different ways with Air Window

 

Watch my video! This is a good result with access via one-click

 

Download Air File

Download Flash Project Source fxp

 

I would like to wish you because you have enjoyed code and understand my example better?

 

Best regards and greeting from Germany.


Viewing all articles
Browse latest Browse all 97529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>