When I tried to reproduce this in a seperate project I did not get the error at first. So I started adding some content from the original app. First thing I added was a MenuBar control, from which the TitleWindow is normally opened. As soon as I added a change event handler for the MenuBar (and importing the mx.events.MenuEvent class), the error occured.
I've uploaded the test project here: http://www.muzakdeezign.com/flex2/TitleWindowTest.zip kind regards, Muzak ----- Original Message ----- From: "Manish Jethani" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, November 09, 2005 11:56 AM Subject: Re: [flexcoders] Re: Flex 2:Can you center a popup from the inside? > Can you give me a standalone test case to reproduce it? (cc to > [EMAIL PROTECTED]) > > On 11/5/05, Muzak <[EMAIL PROTECTED]> wrote: > >> In addition to this. >> I tried adding a Stage resize event listener to a TitleWindow (inside a >> custom mxml component which extends TitleWindow) in order >> to >> be able to keep it centered. >> When doing so I receive the following error, when resizing the swf: >> >> TypeError: Error #1009: null has no properties. >> at >> mx.managers::PopUpManager$/resizeHandler()[C:\dev\max\sdk\frameworks\mx\managers\PopUpManager.as:479] >> at flash.events::EventDispatcher/dispatchEvent() >> at >> mx.managers::SystemManager/SystemManager$71$private::Stage_resizeHandler()[C:\dev\max\sdk\frameworks\mx\managers\SystemManager.as:1724] >> >> The odd part here is the paths being referred to: >> C:\dev\max\sdk\frameworks\mx\managers\PopUpManager.as >> C:\dev\max\sdk\frameworks\mx\managers\SystemManager.as >> >> No such files or directories here. >> Not sure if it has anything to do with it, but thought I'd mention it anyway. >> >> regards, >> Muzak ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/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/

