[thelist] Smart Flash detection

Peter-Paul Koch gassinaumasis at hotmail.com
Wed Feb 27 11:34:00 CST 2002


>Im making an online distance learning package which I want to contain Flash
>animations but also to have static labelled diagrams in place if the user
>does not use
>flash since I know many academics do not keep up to date...
>
>Essentially I want this kind of structure...
>
>If ( Has Flash)  - Embed flash
>Else - Show <IMG>
>
>I have two ideas hwo to do this
>
>1) A plugin test function in Javascript - but apparently this doesnt work
>since you can only detect flash with VBScript in IE????
>
>     ref: http://www.xs4all.nl/~ppk/js/flash.html

No, that's not true. VBScript is the only way to detect Flash *in Explorer*
(except for IE5Mac). My script works in all browsers, except those mentioned
at the top of the page.

>Can anyone help me out with some kind of intelligent flash detect
>routines...

Redirect:

if (flashinstalled) location.replace('Flash_page.html')

<start of non-flash page>

ppk

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com




More information about the thelist mailing list