Good question, I had the same one months back:
If(system.capabilities.playerType == "External") { //you are in authoring mode } Look this up in help file for full details of usage. -Ralph -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Cannon Sent: Monday, December 19, 2005 3:22 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Running Locally vs on a Server - Testing Hi, Hopefully an easy one for you. What's the best way to check if your flash file is running locally/ in the Flash IDE compared to when it's running online. Occasioanlly when testing htings I uncomment a small block of code to fill in fluff data, it would be cleaner if there was a way to check it with code. Thanks, - Kevin _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders