I've got something really quirky going on. Much of the time, when I use an alert, the screen remains blurred after the Alert has been dismissed. Has anyone run into this?
I had assumed that I could only close a TitleWindow after all the code I want executed was complete or the destruction of the popup would interfere. Testing doesn't seem to support that. So will something like this work without interfering with subsequent code? Will the event dispatch still take place regardless of timing issues? (disregard syntax errors below, just talking conceptual here).
protected function doSomething():void{
PopupManager.removePopup(this);
dispatchEvent(new Event("myEvent"));
}