<mx:Script><![CDATA[ import flash.system.Capabilities;
private function reportVersion():String { if (Capabilities.isDebugger) { return "Debugger version of Flash Player"; } else { return "Flash Player"; } } private function reportType():String { return Capabilities.playerType + " (" + Capabilities.version + ")"; } ]]></mx:Script> <mx:Label text="{reportVersion()}"/> <mx:Label text="{reportType()}"/> hth, matt horn flex docs > -----Original Message----- > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of mthomas1969 > Sent: Tuesday, October 30, 2007 4:22 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Determine in AS if debugger is running > > Is there a way to determine in AS if the SWF is running in > the debugger? > >