0 Replies Latest reply on Jul 16, 2006 8:51 AM by swduncan

    What can stop/hide a popup window?

    swduncan
      Ok, I'm trying to create a popup window - I don't want to use GetURL for several reasons so I'm using popupmanager to create a window component using code like:

      Teddy.onPress=function() {
      var my_pic_win:MovieClip = mx.managers.PopUpManager.createPopUp(this, Window, true);
      my_pic_win.setSize(320,240);
      var handleCloseObject:Object = new Object();
      handleCloseObject.click = function(evt:Object) {
      evt.target.deletePopUp();
      };
      my_pic_win.addEventListener("click", handleCloseObject);
      }

      I created a test file with just a symbol to attach the code to. The code works as expected and I get a window. When I take the same code, put it in a large flash file that is a template I bought, I get no window. The code is running and the command to create the window is being executed (at least appears to be in the debugger) but I get no window.

      Could it be hiding somewhere? Is there some setting that could be messing with this? The template I'm using is pretty complex so I'm hoping someone can tell me what kind of thing I need to be looking for to debug this.

      THIS IS DRIVING ME CRAZY! 8-)

      Many thanks for your help!

      Steve