That just might have to do. Since I am saving the image using AlivePDF, I have to initiate that from a click, so the window will have to say something like "Encoding..." with a Save button that gets enabled once the encoding is complete.
On Mon, Dec 7, 2009 at 3:41 PM, Christopher McArthur < [email protected]> wrote: > > > 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] <flexcoders%40yahoogroups.com> [mailto: > [email protected] <flexcoders%40yahoogroups.com>] On Behalf Of > Richard Rodseth > Sent: Monday, December 07, 2009 2:43 PM > To: [email protected] <flexcoders%40yahoogroups.com> > 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]<rrodseth%40gmail.com>> > 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]<zomgforeelz%40gmail.com>> > 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]<rrodseth%40gmail.com>> > 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]<rrodseth%40gmail.com>> > 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! > > >

