Flasher Archive

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


Subject: Re: FLASH: OT: vbscript in Moock detect for Flash
From: Muzak
Date: Sat, 16 Dec 2000 21:37:46 GMT

document.write('end if \n');
// end if, not endif

no errors when I put a space in there. Also removed a backslash in that same line, but probably slipped in there while removing
comments. Couldn't find anything else, so I hope that's it.

<.SCRIPT LANGUAGE="JavaScript1.1" type="text/javascript">
<!--
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.indexOf("Windows") != -1) ? true :
false;
//alert('inside first js routine');
if(isIE && isWin) {
document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('if
IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3")) then \n');
document.write(' pluginVersion = 3 \n');
document.write('end if \n');
document.write('</SCR' + 'IPT\> \n');
}
// -->
<./SCRIPT>

hth,
Muzak

----- Original Message -----

Subject: FLASH: OT: vbscript in Moock detect for Flash



> and here is a piece of code that generates an error ("statement
> expected") when the next javascript section immediately following is
> reached:
>
> <.SCRIPT LANGUAGE="JavaScript1.1" type="text/javascript">
> <!--
> var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
> var isWin = (navigator.appVersion.indexOf("Windows") != -1) ? true :
> false;
> //alert('inside first js routine');
> if(isIE && isWin) {
> document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');
> document.write('on error resume next \n');
> document.write('if
> IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3")) then \n');
> document.write(' pluginVersion = 3 \n');
> document.write('endif \n');
> document.write('</SCR' + 'IPT\> \n'); /
> }
> // -->
> <./SCRIPT>

> Regards,
> Helen
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: OT: vbscript in Moock detect , Helen Triolo
  Re: FLASH: OT: vbscript in Moock detect , Helen Triolo

Replies
  FLASH: OT: vbscript in Moock detect for , Helen Triolo

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