Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: win 98 and FSCommand
From: Jan van Boesschoten
Date: Tue, 20 Oct 1998 08:37:22 +0100

Hi All,

I noticed that if you use aftershock to put your Flash movie into a page and
you use FSCommand scripting, MSIE 4.whatever, says you haven't installed the
plugin. The OS was win98. I solved the problem by adding the following line
to the script in the page:

|| navigator.userAgent.indexOf("Windows 98")>=0

So in the script:
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
&& (navigator.userAgent.indexOf("Windows 95")>=0 ||
navigator.userAgent.indexOf("Windows NT")>=0))

becomes:

else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
&& (navigator.userAgent.indexOf("Windows 95")>=0 ||
navigator.userAgent.indexOf("Windows NT")>=0 ||
navigator.userAgent.indexOf("Windows 98")>=0))


it works.

I hope I help a lot of people with this. It is almost impossible to test
every possible combination of OS and browser, so if people can verify this,
everybody can be saved a lot of trouble by just blindless putting the
sentence into the code.

Thanx Brandon to put me in the right direction,


Regrads jan


------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: FLASH: nasty problem, Brandon Wolf

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]