hello,
Im using this code to change the HTML background color from Flash:
In Flash:
on (release) {
getURL ("javascript:changeBgColor('#ff00ff')");
}
In HTML:
<script language="JavaScript">
<!--
function changeBgColor(newBgColor)
{
// alert('newBgColor : ' + newBgColor);
if (window.document && window.document.bgColor)
{
document.bgColor = newBgColor;
}
}
-->
</script>
It does work when i publish flash till Flash Player 7- for 8 or 9 it does not work. What else i can do to make it work for Flash Player 9…
please help.