Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: [flasher] New Update: Loading variable from Javascript |
From: | Helen Triolo |
Date: | Wed, 07 Feb 2001 21:17:14 -0000 |
Brian,
Do you have swliveconnect=true in your embed tag? It has to be there
for js-flash communications to work in Netscape.
Regards,
Helen
-----------------------------------------------------
i-Technica � http://i-technica.com � 301.424.6037
developer resources: http://i-technica.com/whitestuff
"Kortland, Brian" wrote:
>
> HI All,
>
> You may recall I had given up on importing variables from a text file and
> found that I could use javascript -- documentation is severly lacking!
>
> Well, I have had mixed levels of success. I have been able to set a variable
> in Flash from javascript embedded in my page. I simply created a variable
> that pointed to my movie flatmap and then used the SetVariable command which
> is mapped to my movie clip variable (/Vars:link) and set the variable to
> "uwtools"
>
> //<script language="JavaScript">
> //<!--
> //var movie = window.document.flatmap;
> //movie.SetVariable("/Vars:link", "uwtools");
> //-->
> //</script>
>
> "uwtools" is actually the name of a web page that I want to pass dynamically
> to a flash button that activates a hyperlink to the uwtools.htm page. If
> this would work I could pass many different variables to access different
> pages from my flash interface.
>
> When I run this in IE is works perfectly. Netscape fails. I dig a little
> deeper and find the error message "movie contains no properties".
>
> Anyone have any advice?
>
> Regards,
>
> Brian Kortland
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]