If you do any explicit sizing of the popup you could have problems
later.  What does the popup code look like?

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of bw71
Sent: Tuesday, April 15, 2008 3:21 PM
To: [email protected]
Subject: [flexcoders] Invalidation problem with popups

 

I've noticed issues where if we do

popup = new Component;

PopUpManager.addPopUp( popUp ), 

on some later click

PopUpManager.removePopUp( popUp )

invalidate popup (add new children)

popup.addChild( someChild)

and then later

PopUpManager.addPopUp( popUp ) - the popUp will not display correctly.

It's as if all changes made while the popup was off the display list
don't get triggered. If we don't reuse the popup, everything works,
but I'm curious if others have run into these issues. 

I've tried sticking in some calls to validateNow() and callLater with
moderate success, but I'd love to have a better idea of what's causing
the problem.

Thanks

--Brian

 

Reply via email to