[thelist] changing html background colours from swf movie

Erik Mattheis gozz at gozz.com
Tue May 8 18:06:52 CDT 2001

function changeBG(the_color) {
	document.bgColor = the_color;

<a href ="JavaScript:changeBG('#ff0000');">red</a>

Or in Flash:


Won't work everywhere though.

>I want a button in my flash movie to trigger a change in the background
>colour of the html page (not in the flash background).    Anyone have any
>code for this?  Thanks!!

- Erik Mattheis

"Everything's better"
(612) 827 3963

More information about the thelist mailing list