![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.0.79.
Flash MX 2004.
windowInstance
.deletePopUp();
None.
Nothing.
Method; deletes the window instance and removes the modal state. This method can only be called on window instances that were created by PopUpManager.createPopUp()
.
The following code creates a modal window, then creates a listener that deletes the window with the close button is clicked:
var myTW = PopUpManager.createPopUp(_root, Window, true); twListener = new Object(); twListener.click = function(){ myTW.deletePopUp(); } myTW.addEventListener("click", twListener);
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |