JavaScript Reference/Javascript Properties/palette
"palette" Example
<source lang="javascript">
<html> <body> <embed id="myE"
palette="foreground" src="youtfile.swf" quality="high" pluginspage="http://www.macromedia.ru/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.myE.palette; alert(m);
} </script> </body> </html>
</source>
"palette" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |<embed> | +----------------+--------------------------------------------------------------+
</source>
"palette" Syntax and Note
<source lang="javascript">
Note: Read-only property. Returns the palette for <embed> element.
Syntax:
document.all.embedID.palette
</source>