... ho 2 swf distinti nella mia pagina ad un certo fotogramma di 1.swf devo far partire 2.swf ho fatto così:
nel cod html head:
<script language="JavaScript" type="text/JavaScript">
<!--
function chiamaMetodo(frame) {
var IE = navigator.appName.indexOf("Microsoft") != -1;
var filmato = IE ? window.mainMovie : window.document.mainMovie;
filmato.Play();
}
//-->
</script>
nel body:
<div id="flashcontent">
testo sostiuito dal filamto 1
</div>
<script type="text/javascript">
var fo = new FlashObject("head.swf", "", "963", "83", "7", "#336699");
fo.addParam("wmode", "transparent");
fo.name("mainMovie")
fo.write("flashcontent");
</script>
nel fotogramma di 2.swf ho messo
getURL("javascript:chiamaMetodo()");
ma non mi funge...qualche aiutino??
![]()

qualche aiutino??
-
Rispondi quotando