Well, it was worth a shot. Apparently, IE 4.x on the Mac does not support
vbscript. :(
At least most of the platform/browser combos will print, so it isn't a total
loss! NN and IE 4 and higher on the PC work, and IE 5.x on the Mac works,
and NN 4 and higher on the Mac work. Seems JavaScript was the most universal
answer anyway.

Sincere thanks to all who helped me get this put together.

The next project is to see if I can do better with Flash 4 printing!

-----Original Message-----
From: John Kanding [mailto:[EMAIL PROTECTED]]
Subject: SV: <lingo-l> Shockwave and passing parameters

Regarding the external event, IE is a little different than Netscape. Now
I'm not that into javascript/VBscript, but I got it to work anyhow

I have this javascript. The timeout function is because shockwave calls the
browser and tell it to callback to shockwave. And the browser get's a little
"shocked" (pun intended) and has to take a break of 500 ms before it tells
the href, which is the URL I need to check, cause sometimes there's a
idnumber after a ? in it.

<script language="JavaScript">
theArgs = document.location.href 
function alertFunction(parameter) {
 setTimeout("tellShock()",500)
}

function tellShock() {
document.MovieName.EvalScript(theArgs)
}

</script>

If it's IE then this VBscript will catch the call and send it straight ahead
to the javascript alertFunction() 

<script language="vbscript">
sub MovieName_ExternalEvent(byVal aCommand)
 call alertFunction(aCommand)
end sub
</script>

I recall there where problems with IE on mac and I don't think we ever got i
solved.
You could change some of the code and itmight work for you. Just send $
5.000.000.000 to my account and you'll never hear from me again. Ah what the
heck, it's free... ;-)

John

[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