# User changes colors of my site

**URL:** <https://forum.kirupa.com/t/user-changes-colors-of-my-site/35084>\
**Category:** Uncategorized\
**Created:** [November 10, 2003, 12:11pm UTC](https://forum.kirupa.com/t/user-changes-colors-of-my-site/35084 "2003-11-10T12:11:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [November 10, 2003, 12:11pm UTC](https://forum.kirupa.com/t/user-changes-colors-of-my-site/35084/1 "2003-11-10T12:11:36Z")

</div>

Hi

I searched fot it on the foruns but found nothing related.  
I have to make a Flash Site that lets the user changes it´s colors background, buttons, sections… and so on. He has to change the color, of the entire site.

Could someone give some help or point some tut?

thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 10, 2003, 12:18pm UTC](https://forum.kirupa.com/t/user-changes-colors-of-my-site/35084/2 "2003-11-10T12:18:34Z")

</div>

You’ll have to have sort of input or slider that will pass to a variable and the valiable will dictate the properties of the background / button. They will have to do this each time unless you hold their data in a database or in cookies!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 10, 2003, 6:10pm UTC](https://forum.kirupa.com/t/user-changes-colors-of-my-site/35084/3 "2003-11-10T18:10:59Z")

</div>

Hmm, i think if you made your whole site a MC, then you would be able to change its colour or aplha or what you want, and then use a timeslider, to change its RGB…But i think you need to wait for one of the more proffesionals to tell exactly how it shoud be done…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 10, 2003, 6:20pm UTC](https://forum.kirupa.com/t/user-changes-colors-of-my-site/35084/4 "2003-11-10T18:20:12Z")

</div>

i’d use an array with the instance names of all the objects (have to be movieclips, even the buttons) of which you want to change the colour.  
then either supply a drop-down menu with a few choices (red, green, etc…) or a slider to change the value of a global color variable;  
loop through the array and use setRGB or better use a color transform object to assign the new value to each array element…which can at the same time be stored in a SOL (shared object) which gets loaded at the start of your site…
