all groups > flash actionscript > october 2007 >
You're in the

flash actionscript

group:

Change website background with actionscript


Change website background with actionscript Geisen
10/31/2007 8:12:43 PM
flash actionscript:
I'm creating a full flash website and I'd like to be able to change the site's
background color within flash. The swf itself is only 1000 pixels wide and 600
pixels high. The design is a horizontal band across the middle of the site that
will be continued on the right in a div with css. (once the flash movie runs
out after 1000 pixels)

I'd intended to set the flash movie's background color to transparent and just
let the html container's background color show through but I'd like to change
the background color of the site depending on what section you're browsing in
the flash movie.

Is there any way to use actionscript to "talk" to the html site? It's style
sheet? or javascript? something that would allow me to change the site's
background color from within the flash movie?

Thanks for any help.
Re: Change website background with actionscript kglad
10/31/2007 8:17:24 PM
AddThis Social Bookmark Button