A Flash Developer Resource Site

Results 1 to 18 of 18

Thread: Creating two separate Windows ....

Threaded View

  1. #3
    Senior Member
    Join Date
    Apr 2008
    Location
    Rotorua / New Zealand
    Posts
    117
    Hi there,

    Thanks for your effort in making an example, but that is not what is required as per my asking!
    I was NOT after a PopUpManager type set up as I do have plentiful of these! I was actually after real separate new Windows to open up from that Application as the PopUpManager type is setting itself on top of each other which I do not need; I need them to be separate so to say OUTSIDE that Application.

    This is just creating and opening these two Windows in a very simple manner:

    creationComplete="createWindows(event)">

    <mx:Script>
    <![CDATA[

    import mx.core.Window;
    import mx.events.FlexEvent;

    protected function createWindows(evt:FlexEvent):void {

    new MyWinOne().open();
    new MyWin().open();
    }
    ]]>
    </mx:Script>


    and be able to close them both by using a Timer in the main App. or within each window itself ???
    Where I do not need the timer set up just the closing mechanism for closing these say two Windows withoin the App. or within themselves!

    regards aktell
    Last edited by aktell; 12-10-2012 at 07:40 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center