Highlighted

Screen remaining blurred after Alert dismissed [EDITED]

Advocate ,
Feb 28, 2015

Copy link to clipboard

Copied

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"));

}

TOPICS
Development

Views

145

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Screen remaining blurred after Alert dismissed [EDITED]

Advocate ,
Feb 28, 2015

Copy link to clipboard

Copied

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"));

}

TOPICS
Development

Views

146

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 28, 2015 0

Have something to add?

Join the conversation