# Change html background from flash

**URL:** <https://forum.kirupa.com/t/change-html-background-from-flash/226776>\
**Category:** Uncategorized\
**Created:** [May 23, 2007, 9:57pm UTC](https://forum.kirupa.com/t/change-html-background-from-flash/226776 "2007-05-23T21:57:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cew](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@cew](https://forum.kirupa.com/u/cew)\
**Post date:** [May 23, 2007, 9:57pm UTC](https://forum.kirupa.com/t/change-html-background-from-flash/226776/1 "2007-05-23T21:57:12Z")

</div>

hi does anyone know if its possible to set the background colour of the html page from flash? im making a transparent swf and i want to provide colour swatches that the user can change the background on the movie. i have explored other ways of doing this, but for what i making it makes more sense to have the html background change. ideally i would like it to be a gradient too. i have used a repeating background image in dreamweaver at the moment. is there anyway actionscript can control css?

sorry still a bit of a nube. using cs3 at the mo.

cheers,

cew
