As I said, this worked in every PC browser until the Flash 5 plugin.
This is the Director script :
externalEvent ("delay null,""E&gstrA"E&","&gstrB&","&gstrC&")")
This is the VB script n the page:
<script language="vbscript">
sub MovieName_ExternalEvent(byVal
timesThrough,firstName,secondNum,thirdNum)
call delay(timesThrough,firstName,secondNum,thirdNum)
end sub
</script>
This is the Javascript on the page:
<SCRIPT language="JavaScript" type="text/javascript"><!--
function delay(timesThrough,firstName,secondNum,thirdNum)
{
if (timesThrough == null)
{
setTimeout("delay(1,'"+firstName+"',"+secondNum+","+thirdNum+")",250);
}
else
{
// Create the new window
rep =
window.open('','report','status=yes,toolbar=no,scrollbars=yes,resizable=no,s
creenX=30,screenY=30,width=500,height=350');
rep.document.write('<html>\n<head>\n<title>Data
Report</title>\n');
rep.document.write('<SCRIPT language="JavaScript"
type="text/javascript"><!');
rep.document.write('--\n');
rep.document.write('function printit(){ \n');
rep.document.write('if
(navigator.userAgent.toLowerCase().indexOf("msie") != -1) {\n');
rep.document.write('var WebBrowser = \'<OBJECT
ID="WebBrowser1" WIDTH=0 HEIGHT=0
CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>\';\n');
rep.document.write('document.body.insertAdjacentHTML(\'beforeEnd\',
WebBrowser);\n');
rep.document.write('WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a
2 for a prompting dialog box\n');
rep.document.write('WebBrowser1.outerHTML = "";\n');
rep.document.write('} else {\n');
rep.document.write(' window.print() ;\n');
rep.document.write('}\n');
rep.document.write('}\n');
rep.document.write('//--><');
rep.document.write('/script>\n');
rep.document.write('</head>\n');
rep.document.write('<body bgcolor=#FFFFFF text=#333333>\n');
rep.document.write('<center><font face="verdana,helvetica"
size=4>\n');
rep.document.write('<b>Data Report</b></font><p>\n');
rep.document.write('<p> user = '+ firstName+'\n');
rep.document.write('<p> Second Number = '+ secondNum+'\n');
rep.document.write('<p> Third Number = '+ thirdNum+'\n');
rep.document.write('<FORM><INPUT type="button" value="Print"
onClick="printit();"></FORM>\n');
rep.document.write('</body>\n');
rep.document.write('</html>\n');
rep.document.close();
// rep.print();
// rep.close();
}
}
//--></SCRIPT>
-----Original Message-----
From: Mark R. Jonkman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 28, 2000 11:23 AM
To: [EMAIL PROTECTED]
Subject: RE: <lingo-l> Shockwave in IE
Hi Brian
What kind of event are you trying to trigger and are you specifically using
externalEvent or are you using something else like
goToNetPage("Javascript:......").
Sincerely
Mark R. Jonkman
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Bradshaw, Brian
> Sent: September 28, 2000 10:59 AM
> To: [EMAIL PROTECTED]
> Subject: <lingo-l> Shockwave in IE
>
>
> Hi group. I'm doing all sorts of damage in my little cubicle here!
>
> The latest damage is that my Shockwave movies are failing to trigger the
> external event in IE (any version). The externalEvent works on the Mac and
> in Netscape, but IE just won't listen. All I have done is get the Flash 5
> plugin. Any ideas what has broken here?
>
> Any assistance is greatly appreciated.
>
> Brian Bradshaw
> Systems Engineer
> McGraw-Hill Education
> McGraw-Hill Companies
> 860-409-2603
> [EMAIL PROTECTED]
>
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]