0 Replies Latest reply on May 20, 2010 4:54 AM by iamfuric

    Moving components between Flash Windows


      Hi gurus

      I  need my custom component (based on VBox and containes PopupMenuButton ) to be moved from WindowedAplication to newly opened Flash Window and back.

      Here is the code :


      var newWnd:Window = new Window();

      var comp:UIComponent =  someContainer.removeChild(myCustomCopmonent);




      Everything works fine but the instance of PopupMenuButton.

      The button itself is displayed  as it should be , but menu is opened in the context of WindowedAplication.

      I tried to recreate the PopupMenuButton each time the stage of comp  has been changed  without success.


      Please advice.