This content has been marked as final. Show 5 replies
Would need to see some example code to see what the issue was. Make sure that you are getting rid of the Popup properly with the PopupManager if that is what you are using.
Barring that, you can always simulate a popup by just doing a component.
to remove the pop up, do I need to do something else?
Yes that should work. That said, it really depends on when/where you do it in code, if you have any initilaize/show/creationComplete/hide handlers, and if it is a module versus not, etc etc.
What specifically stops working?
I used the following code:
myTitleWindow = new TitleWindow();
myTitleWindow.title = "My Window Title";
PopUpManager.addPopUp(myTitleWindow,Application.application as Sprite, true);
I call the popup to show when an image is loaded and processed as a thumbnail.. this takes a while, so i show the popup during executing code.. when he is done i remove the popup.
The problem i have is that when i go over the same code again, the popup does show when he likes it.. so he shows it the first or second time, but it could be that the third time i run the same code, it only shows a gray screen..( like the background app when you show an alert window)
someone any idea on how to solve this? Or perhaps another way to notify the user he must wait..
First, please do not hijack threads. Start your own subject unless you are responding to one.
Is "myTitleWindow" var declared in instance scope? If so, perhaps you should not re-create it every time? I am not sure this is the problem, just thinking aloud.