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