<HTML>
<HEAD>
<TITLE>Richiamo metodo da html</TITLE>
<script language="JavaScript" type="text/JavaScript">
<!--
function avviaFilmato() {
        var IE = navigator.appName.indexOf("Microsoft") != -1;
        var filmato = IE ? window.mainMovie : window.document.mainMovie;
        filmato.Play();
}
//-->
</script>
</HEAD>
<BODY bgcolor="#FFFFFF">
<OBJECT
        classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
        WIDTH=400 HEIGHT=300 id="mainMovie">
        <PARAM NAME=movie VALUE="metodo001.swf">
        <PARAM NAME=quality VALUE=high>
        <PARAM NAME=bgcolor VALUE=#FFFFFF>
        <EMBED
                src="metodo001.swf"
                quality=high
                bgcolor=#FFFFFF
                WIDTH=400
                HEIGHT=300
                swLiveConnect="true"
                name="mainMovie"
                TYPE="application/x-shockwave-flash"
                PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
        </EMBED>
</OBJECT>
<br><br>
<a href="javascript:avviaFilmato()"><img src="img.gif" alt="Metodo da immagine" border="0"></a>
</BODY>
</HTML>