Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Detecting if java enabled for CFSET flashmoviename.swf |
From: | Gregg Caines |
Date: | Fri, 20 Oct 2000 23:18:50 +0100 |
If you have JavaScript testing for java then you can get it to
redirect to a second page if it has java, and a third page if it
does not. A cleaner, yet more complex way to do it would
be to get the JavaScript to redirect to the same page with a
"?java=true" or "?java=false" querystring and have that same
page handle those cases.
You can use a meta-refresh tag to redirect users to the
non-java page if the test doesn't work due to not having
JavaScript. You should also take into consideration the
possibility that
navigator.appName != 'Microsoft Internet Explorer'
It still happens sometimes, though not that often. ;)
---------------------------------------------------
Gregg Caines
n e o m e t r i x systems inc.
http://www.neometrixsystems.com
gcainesneometrixsystems [dot] com
> All,
>
> I'm trying to come up with an equivalent solution to detecting if java
> is enabled on a end user's browser and if so then use a specific flash
> file in the object/embed tags that are set through use of ColdFusion. So
> far I have this javascript:
>
> if (navigator.appName == 'Microsoft Internet Explorer' &&
> navigator.appVersionindexOf('MSIE 3'))
> var java = false;
> else
> var java = navigator.javaEnabled();
>
>
> My question is if I am using cold fusion variables to define the
> parameters and settings how can i add logic to this to be able to use
> say a specific flash file instead of another? (this is a specific
> problem i've seen when trying to do fscommands to flash or flash to
> javascript, etc.) I want to create a work around that enables me to use
> one of two flash files, etc.
>
> The problem I see is that since cold fusion will always execute before
> javascript this is not possible. Has anyone tried this and if so how?
>
> Thanks,
>
> Jack
>
>
> --
> Jack Montealegre
> Application Developer
> G.Triad
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: Detecting if java enabled for CFS, Jack Monteleagre
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]