0 Replies Latest reply on Feb 10, 2007 1:24 PM by spookmc

    how to implement popup manager

    spookmc
      In a class I created I have a MC created using createMovieClip().
      Now I need this Clip t6o be a popup window; stopping all other interactions in my application to react to mouseclicks.

      I found teh popup manager in teh helpfiles, and tried to replace my createMovieClip() commands:

      this.dialogClip = createEmptyMovieClip("dialogClip", this.getNextHighestDepth());

      by the PopUpManager.createPopUp() command.

      I did not succeed until now.

      I can't even get the helpfiles' code to work in a new movie.

      lo = new Object();
      lo.click = function(){
      mx.managers.PopUpManager.createPopUp(_root, mx.containers.Window, true);
      }
      button.addEventListener("click", lo);

      Can anyone help me and expalin how the mx.managers are to be implemented?
      I thank you in advance for the interest in my problem :-)