0 Replies Latest reply on Jun 9, 2014 2:58 AM by SourceSkyBoxer

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

    SourceSkyBoxer Level 1

      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.