Groups | Blog | Home
all groups > flash actionscript > april 2005 >

flash actionscript : Flash/Javascript problem


Scott Filloon
4/30/2005 5:42:26 PM
I'm having some browser problems with a Javascript issue communicating with
a Flash swf. It works with IE but not with Netscape. The embedded Flash
file does have the appropriate "ID tag" and "swLiveconnect=true" for
Netscape.

If there are any Flash users who are well versed with javascript, I'd
appreciate
any direction that you can give me. The problem appears to be in the
following
line of code inside the <head> tag of my HTML. It sends the command to
another Flash id (music) which is also in another frame called
"bottomFrame":

<SCRIPT LANGUAGE='JavaScript'>
<!--
function interactive() {
window.top.bottomFrame.document.music.play();
}
-->
</SCRIPT>

The actionscript used to execute the function is:

on (release){
getURL("javascript:interactive()");
}

Thanks for any help you can give me,

Scott


Travis Newbury
4/30/2005 7:14:42 PM
[quoted text, click to view]

Live connect only works in IE and NS 7.0 and above.

--
perry
5/3/2005 12:00:00 AM
the problem is, many browsers can´t do that at all:
netscape 6.0 cannot
netscape 6.1 can
netscape 7 cannot

on macs, only the latest safari can

my advice is not to rely on this kind of mechanism at all...

perry

"Scott Filloon" <sfilloon@stingerweb.com> schrieb im Newsbeitrag
news:d511bp$a8m$1@forums.macromedia.com...
[quoted text, click to view]

AddThis Social Bookmark Button