# Color.Transform to?

**URL:** <https://forum.kirupa.com/t/color-transform-to/56837>\
**Category:** Uncategorized\
**Created:** [July 8, 2004, 1:44am UTC](https://forum.kirupa.com/t/color-transform-to/56837 "2004-07-08T01:44:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![paBlo\_Du](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paBlo\_Du](https://forum.kirupa.com/u/paBlo_Du)\
**Post date:** [July 8, 2004, 1:44am UTC](https://forum.kirupa.com/t/color-transform-to/56837/1 "2004-07-08T01:44:14Z")

</div>

Hey Kiruopians:

I’ve got a really bad \*\*\* idea for a design but I want to implement having a movie clip randomly change color.

How can I make my movie clip randomly switch colors with a push of a button??

By the way I’m using flash MX and I am still intermediate when it comes to coding.

thanks in advance

---

<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:** [July 8, 2004, 5:23am UTC](https://forum.kirupa.com/t/color-transform-to/56837/2 "2004-07-08T05:23:39Z")

</div>

[http://www.kirupaforum.com/forums/showthread.php?t=61971](http://www.kirupaforum.com/forums/showthread.php?t=61971)

someone posted a few days ago with a question close to yours. prehaps this will help.

---

<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:** [July 8, 2004, 8:43am UTC](https://forum.kirupa.com/t/color-transform-to/56837/3 "2004-07-08T08:43:01Z")

</div>

If you want a random color everytime you press a button I’d just stick all my desired colors in an array and have your flash movie call this array every time the button is clicked. I’m not the greatest coder in the world so I’m not entirely sure how you’d do this but I’ll have a go at coding it for you if you’d like.

If anyone else can code this then it would save me being humiliated by my bad coding skills.

Ads.

---

<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:** [July 8, 2004, 5:12pm UTC](https://forum.kirupa.com/t/color-transform-to/56837/4 "2004-07-08T17:12:01Z")

</div>

Thank man. I really didn’t think about it that way. And don’t worry I’m a pretty bad coder still but getting better. I’ll try coding but probably end up posting back here to see if someone can help me out.
