your html file should be:
[html]
[script]window.name = "mainWin"[/script]
[script Language="JavaScript" event="FSCommand (command, args)" for="flash"]
switch(command){
case "runTest":
flash.SetVariable("ok","true")
break
case "proceed":
window.open("index2.html","mainWin")
break
}
[/script]
[div align="center"][embed src="fscommandtest.swf" name="flash" id="flash" width="200" height="100"][ /center]
[/html]
substituting all the brackets for angle brackets.
that should do ya
I have an answer to your question.
Don't promote or condone the useage of FireFox until they have it fixed! Having something as fundamental as this missing from a browser is laughable!!
How long has Flash had the fsCommand implemented...and it still doesnt work!?!? Rest assured if this were Microsoft they would have had it fixed ages ago.
Sorry about the ranting but c'mon people, lets apply the same pressure as Microsoft would get with as big a screw-up as this one.
Phanton.
I hate that FireSux thing. Message me asap if you guys have any soulution!
abs
In the process of a complete revamp of our company I also came into this issue with Firefox and javascript commands such as TGotoLabel. So I know exactly how you feel
P.S. I have no involvemnet in the site that is currently online.
In the process of a complete revamp of our company I also came into this issue with Firefox and javascript commands such as TGotoLabel. So I know exactly how you feel
P.S. I have no involvemnet in the site that is currently online.
I hope Phanton is kidding...I mean I am still waiting for transparent PNG support in IE.
The problem isn't Firefox. It's that plugin writers didn't feel the need to update their plugins since NS4, and now are getting their butts kicked for it. Blame Macromedia and Microsoft, not Mozilla, for 6 years of laziness.
<SCRIPT LANGUAGE="JavaScript">
<!--
document.write(
'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1024" height="540" id="movie">\n'+
' <param name="movie" value="tw4.swf'+document.location.search+'" />\n'+
' <param name="quality" value="high" />\n'+
' <param name="menu" value="false" />\n'+
' <param name="swliveconnect" value="true" />\n'+
' <EMBED src="tw4.swf'+document.location.search+'"\n'+
' quality=high WIDTH="1024" HEIGHT="540" menu="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" swLiveConnect="true"></embed>\n'+
'</OBJECT>');
//-->
</SCRIPT>
[SCRIPT LANGUAGE="JavaScript"]
[!--
document.write(
'[object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1024" height="540" id="movie"]\n'+
' [param name="movie" value="tw4.swf'+document.location.search+'" /]\n'+
' [param name="quality" value="high" /]\n'+
' [param name="menu" value="false" /]\n'+
' [param name="swliveconnect" value="true" /]\n'+
' [EMBED src="tw4.swf'+document.location.search+'"\n'+
' quality=high WIDTH="1024" HEIGHT="540" menu="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" swLiveConnect="true"][/embed]\n'+
'[/OBJECT]');
//--]
[/SCRIPT]
Hi, I came across this post looking for a solution to my problem.
I have a page at http://web.singnet.com.sg/~polyp/repertoire.html that allows users to click and load a remote flash movie in a "Flash Holder" swf. The page works fine in IE, but fails in Firefox.
Could anybody help? Thanks!