I was unable to find any way to do this either after a lot of experiment I finally gave up. A callLater after creationComplete, or any other of a host of events that it looks like you tried as well still happens before the popup is visible as you found. I ended up just doing a timer of about 1s after creation complete, which is annoying and hacky, but the only reliable solution I could find =(
-ctm _____________________________________________________________________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Richard Rodseth Sent: Monday, December 07, 2009 2:43 PM To: [email protected] Subject: Re: [flexcoders] Re: How to know when a popup component is visible? Bump. Still trying to find a way to detect that a popup is visible. On Mon, Nov 30, 2009 at 9:55 AM, Richard Rodseth <[email protected]> wrote: Yes, I have tried using callLater(). I was hoping there was an event I could tap into that got dispatched once the window is visible. On Mon, Nov 30, 2009 at 9:21 AM, Chris <[email protected]> wrote: Everything is Flash is mostly single-threaded. You'll need to wait until after the window is visible to display start the encoding. Have you attempted using callLater() to start the encoding of the png a frame after the event is dispatched? On Mon, Nov 30, 2009 at 9:47 AM, Richard Rodseth <[email protected]> wrote: This message hasn't showed up yet. Awaiting moderation? Any ideas? On Wed, Nov 25, 2009 at 10:40 AM, Richard Rodseth <[email protected]> wrote: I had a thread going here about how to show progress before a potentially long-running but synchronous operation (in my case encoding a DisplayObject as a PNG or JPEG to add to an AlivePDF PDF. Since I can't seem to force a busy cursor (ironic), one of the suggestions was to pop up a window before starting the encoding. But I've tried listening to creationComplete, render, show, addedToStage etc. etc., and in all cases the popup doesn't appear until the encoding is complete. I was unable to find any event dispatched by the PopupManager either. Help!

