guys its not working because, your line popUpParent = mainPanel;
isn't being set inside an initialize event(for eg). you can do this <mx:Application initialize="test()" > function test() { popUpParent=mainPanel } regards bod --- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote: > > Tim Hoff wrote: > > > > Do you still have this line. > > > > var popUpParent:DisplayObject; > > > > If so, then wtf. > > Yup, I sure do. > > And yeah, wtf? > > I solved the problem by eliminating the reference to popUpParent > entirely and just put Application.application.mainPanel where it was > used in the code. > > rick > -- 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/