9 Replies Latest reply on Apr 18, 2008 2:31 PM by kglad

    Popup windows - draggable and closeable

    eapre
      Hi,
      I have a popup window that is draggable, but I can't get the close button to close the window. I'm wondering what kind of code I need to put on the close button. I have this script for making the popup drag:

      // Drag a movieclip.
      bondcashflow_mc.onPress = function() {
      this.startDrag(false);
      };
      bondcashflow_mc.onRelease = function() {
      this.stopDrag();
      };

      ...and my close button is inside bondcashflow_mc.


      Thanks in advance for any help!