Looks like a bug. Please file it at www.adobe.com/go/wish ________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Rovira Sent: Tuesday, April 10, 2007 8:33 AM To: [email protected] Subject: Re: [flexcoders] creationPolicy does not work on popups? Thanks Igor, I tried this, but creationComplete executes as well...really weird :? But if I instantiated the component directly the creationComplete does not exectute, so I think this is due to the component beign a popup... Thanks for the response :) 10 Apr 2007 07:15:24 -0700, Igor Costa <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >: Hi there Carlos R. Did you used to popUp this new titlewindow using as IFlexDisplayObject data type? I'm not sure but this will works even if you have using it as on the fly for example import myComps.comCarlosTitleWin; var popMeUp:IFlexDisplayObject = mx.managers.popUpManager.createPopUp(comCarlosTitleWin,this); it will works smooth. Regards. On 10 Apr 2007 06:44:00 -0700, Carlos Rovira <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Hi, I'm facing a weird behaviour with creationPolicy in containers. I use the default creationPolicy to auto and have a component with a TabNavigator with this creation policy. If the instance of this component is created as usual all works fine. The problem shows as I turn this component into a TitleWindow and pops it with popup manager. In this new incarnation, the component fires the creationComplete event in other tabs not selected (not instantiated). This is a known effect of using a component in a popup manager?. I'm making test and this problem only shows when change from default mxml instantiation to a popup manager instantiation, so or this is a bug, or is something expected. -- ::| Carlos Rovira ::| http://www.carlosrovira.com <http://www.carlosrovira.com> ::| http://www.madeinflex.com <http://www.madeinflex.com> -- ---------------------------- Igor Costa www.igorcosta.org <http://www.igorcosta.org> www.igorcosta.com <http://www.igorcosta.com> skype: igorpcosta -- ::| Carlos Rovira ::| http://www.carlosrovira.com <http://www.carlosrovira.com> ::| http://www.madeinflex.com <http://www.madeinflex.com>

