RE: [Flashcoders] Running Locally vs on a Server - Testing

2005-12-19 Thread Howard Nager
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

RE: [Flashcoders] Running Locally vs on a Server - Testing

2005-12-19 Thread Ralph Caraveo
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

Re: [Flashcoders] Running Locally vs on a Server - Testing

2005-12-19 Thread John Grden
if(_level0._url.indexOf(http:) -1) would that work for ya? On 12/19/05, Kevin Cannon [EMAIL PROTECTED] wrote: 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

Re: [Flashcoders] Running Locally vs on a Server - Testing

2005-12-19 Thread Alan Shaw
On 12/19/05, Kevin Cannon [EMAIL PROTECTED] wrote: 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.

Re: [Flashcoders] Running Locally vs on a Server - Testing

2005-12-19 Thread Alan Shaw
On 12/19/05, John Grden [EMAIL PROTECTED] wrote: Problem with capabilities.playerType is that you can't tell that you're online - just that you're not in the IDE ;) Ah yes... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com