# Change BG color and save it

**URL:** <https://forum.kirupa.com/t/change-bg-color-and-save-it/161559>\
**Category:** flash\
**Created:** [September 5, 2005, 6:20am UTC](https://forum.kirupa.com/t/change-bg-color-and-save-it/161559 "2005-09-05T06:20:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheMaxExp](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@TheMaxExp](https://forum.kirupa.com/u/TheMaxExp)\
**Post date:** [September 5, 2005, 6:20am UTC](https://forum.kirupa.com/t/change-bg-color-and-save-it/161559/1 "2005-09-05T06:20:04Z")

</div>

I am working on a new website, because the source for my last one was deleted. Anyway for the new one. I want a feature where you click a button and it will change the BG to the color theme set to that button. And there will be like 3 buttons. But how do I make a shared object save the color theme? I have been messing with tutorials like this one, and [url="…/developer/actionscript/shared\_objects.htm"]this one, but its nothing on saving anything other than text.

If someone could make a basic file of like two buttons and when you click one it changes something red, and the other green, and saves it in a shared file, I will be the happiest kid alive.
