1 Reply Latest reply on Apr 1, 2008 3:49 PM by ntsiii

    popUp qs

    trycold Level 1

      I have a form which is inside a Panel. I want to use this form somewhere else also but want it to popup. So how do I do that. If my form Name is test. I tried doing this in the other page:

      var pop2:test= test(PopUpManager.createPopUp(Application.application as DisplayObject, test, true));

      but how do I provide the close button to this since it is inside a panel.

      It creates a popup but i can't close it.
        • 1. Re: popUp qs
          ntsiii Level 3
          Create a component based on a TitleWindow. In that component, declare the form component <test .../> Then pop up that component.

          Also, please make you subjects descriptive. I choose which threads to read based on the subject and almost didn't read yours.