The stack trace trick works well. I've written a little class that automates the check.
http://michaelvandaniker.com/blog/2008/11/25/how-to-check-debug-swf/ --- In flexcoders@yahoogroups.com, Alex Harui <[EMAIL PROTECTED]> wrote: > > If the app has debug info in it, the text in an Error().getStackTrace() will be different. > > I don't think there's a test to see if you're hooked to a debugger. > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andres Serral > Sent: Wednesday, November 19, 2008 10:40 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] check compiler configurations in runtime > > Hello. > I´ve a simple question. > > Can I access to compiler configurations in runtime? > Basically I need check if the app is in debugmode > > Thanks >