# Change Background Colour

**URL:** <https://forum.kirupa.com/t/change-background-colour/263627>\
**Category:** flash\
**Created:** [June 17, 2008, 7:52pm UTC](https://forum.kirupa.com/t/change-background-colour/263627 "2008-06-17T19:52:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilikemyself](https://avatars.discourse-cdn.com/v4/letter/i/fbc32d/32.png) [@ilikemyself](https://forum.kirupa.com/u/ilikemyself)\
**Post date:** [June 17, 2008, 7:52pm UTC](https://forum.kirupa.com/t/change-background-colour/263627/1 "2008-06-17T19:52:42Z")

</div>

I made a XML driven gallery and i want when i change to other photo/photo section the colour of the background changes.

---

<div class="post-metadata">

**Author:** ![sepu](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@sepu](https://forum.kirupa.com/u/sepu)\
**Post date:** [June 17, 2008, 8:54pm UTC](https://forum.kirupa.com/t/change-background-colour/263627/2 "2008-06-17T20:54:34Z")

</div>

there different ways of doing this … you can make an array where you will put the colors then randomize the colors with a function … you can use the McTween to change colors or you can make your own function …

---

<div class="post-metadata">

**Author:** ![ilikemyself](https://avatars.discourse-cdn.com/v4/letter/i/fbc32d/32.png) [@ilikemyself](https://forum.kirupa.com/u/ilikemyself)\
**Post date:** [June 18, 2008, 5:08pm UTC](https://forum.kirupa.com/t/change-background-colour/263627/3 "2008-06-18T17:08:49Z")

</div>

Any tutorials on that?
