• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Screen remaining blurred after Alert dismissed [EDITED]

Advocate ,
Feb 28, 2015 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

206

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
community guidelines