On 8/26/05, Alberto Albericio Salvador <[EMAIL PROTECTED]> wrote: > The question is: how can I modify the container or the helper class so > that Index.mxml know it has to show this component in a popup window? > > My lame solution to this has been replacing this: > > <view:Login id="login" /> > > with this: > > <mx:Canvas id="login" creationComplete="var popup = > mx.managers.PopUpManager.createPopUp(_root, Login, true, {deferred: > true, width:200, height:190, x:500, y:200});"> > > </mx:Canvas> > > and thus loosing the cairngorm structure because Login.mxml must reside > in the same directory than Index.mxml (using "view:Login" instead of > Login does not launch any error but the whole app screen gets white )
I'm sorry I'm not familiar with Cairngorm, but it looks like you just want to qualify Login with the package name. i.e. foo.bar.Login instead of Login. Manish ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/