Sure:
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ import mx.containers.TitleWindow; private function onClose(event:Event):void { removeChild(event.target as TitleWindow); } ]]> </mx:Script> <mx:TitleWindow showCloseButton="true" close="onClose(event)"/> </mx:Application> HTH, Ryan From: [email protected] [mailto:[email protected]] On Behalf Of stinasius Sent: Thursday, March 05, 2009 10:08 PM To: [email protected] Subject: [flexcoders] Re: how to close a titlewindow that was not created as a popup care to share how? This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.

