I can't find what I've used in the past - but if you: trace (_url);
You'll see that it begins with 'file' when run locally - check for that (substring(_url,0,4)) and you should be good. -----Original Message----- From: [EMAIL PROTECTED] on behalf of Kevin Cannon Sent: Mon 12/19/2005 6: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