3 Replies Latest reply on Aug 15, 2008 11:04 AM by Quester99

    Creating Modal Windows


      I'm creating a child window from an existing window using the following piece of code,

      ~~~ code~~~

      var newHTMLLoader = air.HTMLLoader.createRootWindow(true, options, true, windowBounds);
      newHTMLLoader.window.nativeWindow.alwaysInFront = true;
      var onClose = function() {
      // refresh parent
      newHTMLLoader.window.nativeWindow.addEventListener(air.Event.CLOSE, onClose);
      newHTMLLoader.load(new air.URLRequest(pageURL));


      But I'm still able to click links in the parent window or close the parent window altogether. Is there a way to work around this?

      Would appreciate any help on this.