1 Reply Latest reply on Dec 18, 2012 8:14 PM by Wingnow

    Creation and CLOSING of specifly coded ....

    aktell2007 Level 1

      Hi there,

      I have worked many hours on this and the code below is the only code I can use in a way how I need everything to work; to open two windows in an AIR Application to work so I do need not new or different code !!! [B][COLOR="Red"]I do ONLY[/COLOR][/B] look at the moment to find a simple solution to a small problem - [B][COLOR="Red"]HOW TO CLOSE THESE WINDOWS[/COLOR][/B] again from within the Application itself or within each of the windows ??? Nothing else I just can't find or work out how to CLOSE them!

       

      Any help would be greatly appreciated, thanks in advance

       

      [CODE]

      <mx:Script>

      <![CDATA[

      import mx.core.Window;

      import mx.events.FlexEvent;

       

      private function openWindows(evt:Event):void {

       

      new MyWinOne().open();

      new MyWinTwo().open();

       

      }

      ]]>

      </mx:Script>

      [/CODE]