Hi all,
I have the following JavaScript
I then have this in Flash, which controls the bg colour...Code:<script language="JavaScript"> <!-- //The function is quite simple, it takes one argument, "newBgColor" //and passes it as the value of the "bgColor" property of the "document" object function changeBgColor(newBgColor) { if (window.document && window.document.bgColor) { document.bgColor = newBgColor; } } --> </script>
I want to instead fade an image into the background not change the colour... Anyone seen a script like this?Code:on (press) { getURL ("JavaScript:changeBgColor('#336600')"); }



Reply With Quote
Bookmarks