Hi Kerry
Guess it is all in what the intention is, if it is to pass info in at only
the start then using externalParamValue works like a charm. But if the
desire is to have continuous communication between javascript and the
browser, then you have to pull your hair out (that is if you have any left)
:-)
Sincerely
Mark
--------------------------------------------
Mark R. Jonkman
Mark R. Jonkman Consulting
ADDRESS: 20 Windermere Crt., Guelph, ON, CANADA N1E 3L4
PHONE: 519-837-8509
EMAIL: [EMAIL PROTECTED]
--------------------------------------------
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Kerry Thompson
> Sent: Monday, January 08, 2001 12:54 AM
> To: [EMAIL PROTECTED]
> Subject: Re: <lingo-l> javascript to Applet
>
>
>
> >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!]
>
[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!]