![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.0.79.
Flash MX 2004 and Flash MX Professional 2004
windowInstance
.deletePopUp();
None.
Nothing.
Method; deletes a pop-up window and removes the modal state. It is the responsibility of the overlapped window to call PopUpManager.deletePopUp()
when the window is being destroyed.
The following code creates and a modal window named win
with a close button, and deletes the window when the close button is clicked:
import mx.managers.PopUpManager import mx.containers.Window win = PopUpManager.createPopUp(_root, Window, true, {closeButton:true}); lo = new Object(); lo.click = function(){ win.deletePopUp(); } win.addEventListener("click", lo);
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |