>Can messages be passed from browser to an applet made with Director?
>if yes how do I read the params with lingo?

Hi Gopinath--

Don't let Mark scare you off ;-)

It's not that hard--just don't use JavaScript. It's easy to get a parameter 
from HTML.

Put this in your Director movie:

   if externalParamName ("sw1") = "sw1" then
     myVar = value(externalParamValue("sw1"))
   end if

Then in the HTML, put this:

<param name = sw1 value = "1">
<embed src="mymovie.dcr"  sw1 = "1"></embed>

You'll have a bunch of other stuff in the embed--it pretty much defines 
your Shockwave movie. You do need to repeat the parameter there for 
Netscape, though. IE gets it from the param declaration earlier.


Cordially,
Kerry Thompson
Learning Network


[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