1 Reply Latest reply on Oct 31, 2007 1:17 PM by kglad

    Change website background with actionscript

    Geisen
      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.