Any chance I can get you to elaborate more on this? The code below is the
actual code that worked until yesterday. By "MovieName" posistion, do you
mean an ID designation, or the name of the src file?

-----Original Message-----
From: Tim Symons [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 28, 2000 2:26 PM
To: [EMAIL PROTECTED]
Subject: RE: <lingo-l> Shockwave in IE


I can't tell from your code you posted if you just posted an example of your
code or if this is your actual code so this may not be your problem but...in
your VBScript you have the subroutine named: MovieName_ExternalEvent. Did
you name you movie "MovieName"? I've always had to put whatever I named my
movie in the <OBJECT> tag in the "MovieName" position.

Just asking.

Timothy R. Symons
Multimedia Programming Specialist
Curtis, Inc.

> -----Original Message-----
> From: Bradshaw, Brian [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 28, 2000 11:35 AM
> To:   [EMAIL PROTECTED]
> Subject:      RE: <lingo-l> Shockwave in IE
> 
> As I said, this worked in every PC browser until the Flash 5 plugin.
> This is the Director script :
> externalEvent ("delay null,"&QUOTE&gstrA&QUOTE&","&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>
> 

[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!]

Reply via email to