# This is not good

**URL:** <https://forum.kirupa.com/t/this-is-not-good/99724>\
**Category:** Uncategorized\
**Created:** [January 21, 2004, 2:56pm UTC](https://forum.kirupa.com/t/this-is-not-good/99724 "2004-01-21T14:56:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![HOne](https://avatars.discourse-cdn.com/v4/letter/h/65b543/32.png) [@HOne](https://forum.kirupa.com/u/HOne)\
**Post date:** [January 21, 2004, 2:56pm UTC](https://forum.kirupa.com/t/this-is-not-good/99724/1 "2004-01-21T14:56:58Z")

</div>

I have a major problem, so I decided to share it. Actually, I have two problems, and I need to fix them in exactlly 7 hours when I have to make a presentation. Any assistance would be much appreciated. Thank you.

PROBLEM 1  
The close button on my Window Component won’t close the window. Can someone please advise me on where I messed up. Here is my code.  
\<as\>

import mx.managers.PopUpManager  
import mx.containers.Window

buttonListener = new Object();  
buttonListener.click = function(){  
myWindow = PopUpManager.createPopUp(\_root, Window, true, {  
title:“Enter Password”, contentPath:“hg” , closeButton:true })  
myWindow.setSize(350, 380);

}  
button.addEventListener(“click”, buttonListener);

NewWindowListener = new Object();  
NewWindowListener.click = function() {  
myWindow.PopUpManager.deletePopUp();  
};

myWindow.addEventListener(“click”, NewWindowListener);

\</as\>

PROBLEM 2  
My project is of type slide show. Whenever I add a create a symbol on my first slide I get this problem. The second slide shows up at the same time but with a transparant background, overlapping the first slide. Weird.

Thank you.

Regards,  
HOne
