2 Replies Latest reply on May 11, 2006 1:31 PM by tonyhigham

    popupmanager

    cibit
      I'm trying to create a popup window by using the popupmanager class and createpopup etc. My only issue is i want to attach a movie using the class instead of using the window compent or alert box component.

      How can i go about this using attachmovie?

        • 1. Re: popupmanager
          TimSymons Level 1
          I haven't done anything with this class so this may not work but have you tried creating your own class that attaches a movieclip from the Library to a dynamically created empty movieClip? Since one of parameters of createPopUp() method is to pass a class you may be able to do what you want with your own class.

          Tim
          • 2. Re: popupmanager
            tonyhigham Level 1
            not sure if this is what you mean, but this will allow you to use a symbol from the library for the content of the window...

            myWindow = mx.managers.PopUpManager.createPopUp(this, mx.containers.Window, true, {title:"my window", contentPath:"LinkageID", closeButton:true});