PDA

View Full Version : deletePopUp -> Window Componet form contentPath


joker1983
07-05-2004, 04:10 PM
Hello,
i am trying to close a Window with the deletePopUp() method.

I have an MovieClip added to the window Component as an contenpath.

how i can close the window from a button that is in the contentpath Movie ?

annexion
07-05-2004, 07:39 PM
The easiest would be, from your content movieclip, as follows:

this._parent.deletePopUp();

You could also pass in the scope reference of the window as a variable in the content from the window complete event and reference that variable in your deletePopUp call.