Are these things in modules? If so, you might have the shared code problem. What's the full text of the error?
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Sent: Wednesday, March 21, 2007 10:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] PopUp Returning NULL I am having some trouble with a popup window. Here is the popup code: private function changePassword() : void { var pwWindow:IFlexDisplayObject = PopUpManager.createPopUp(this, WinChangePassword, true); } if I call it from a Link Button I get a "Can't Access Property of Null Object"... error. <mx:LinkButton id="chpw" label="change pw" click="changePassword();"/> However, when I call it from the ObserveValue Component I am using, it works fine. <ac:ObserveValue id="pwchange" source="{model.changePw}" value="{1}" handler="{changePassword}" /> Also, when i check the debugger in both cases it shows pwWindow = null. (I am not sure what it is supposed to be.) Thanks for the suggestions. - Kevin