Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: [flasher] Is there a way to check the online status from an exe without the error dialog? |
From: | Paul Willoughby |
Date: | Mon, 12 Feb 2001 12:56:40 -0000 |
I'm not quite sure what you're trying to do (ftp from a Flash exe?? dynamic
content from the web into an exe??), but you can check whether a user is on
an exe version of your site rather than the online version by using the
inbuilt _url property of a movie. If you're online, the first four
characters of the _url variable are going to be 'http', but if you're using
an exe it will be 'file', so:
If(substring(_url, 0, 4) == "file"){
// the user is using an exe
}else if(substring(_url, 0, 4) == "http"){
// the user is at your website
}
hth
paul
> -----Original Message-----
> From: Andries van der Leij [andriestheMetroStation [dot] com (mailto:andriestheMetroStation [dot] com)]
> Sent: 12 February 2001 12:34
> To: flasher from chinwag
> Subject: [flasher] Is there a way to check the online status
> from an exe
> without the error dialog?
>
>
> I was wondering if there is a trick to check the online
> status without the
> dialog box from appearing...?
>
> you would very much help me out if you know a possible solution!!
>
> Thanks in advance,
>
> Andries van der Leij
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]