'palette' Example : Embed « HTML « JavaScript DHTML






'palette' Example

    
<html>
<body>
<embed id="myEmbed" 
       palette="foreground" 
       src="youtfile.swf" 
       quality="high"
       pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" 
       width="250" 
       height="230">
</embed> 
<button onclick="function1();">Click Here</button>
<script language="JavaScript">
function function1() {
    var m = document.all.myEmbed.palette;
    alert('"'+m+'"'); 
} 
</script>
</body>
</html>

    
      
      








Related examples in the same category

1.'hidden' Example