# Colour and Tweens problem

**URL:** https://forum.kirupa.com/t/colour-and-tweens-problem/172372
**Category:** flash
**Created:** [December 13, 2005, 7:59pm UTC](https://forum.kirupa.com/t/colour-and-tweens-problem/172372 "2005-12-13T19:59:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![RabBell](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rabbell/32/340_2.png) [@RabBell](https://forum.kirupa.com/u/RabBell)
#### Post date: [December 13, 2005, 7:59pm UTC](https://forum.kirupa.com/t/colour-and-tweens-problem/172372/1 "2005-12-13T19:59:50Z")

</div>

looking for some help (ideas or even a pointer to a tutorial) what I want to do is change the colour of a rectangle from one colour to another using actionscript but I’m not sure where to start.

I know you’re gonna say “Motion Tween” but I can’t. You see I’m gonna have 80 rectangles on screen and I don’t want them to change to the same colour. I want it to pick randomly from a list of 20 colours and then change from that to another one in the same list.

Any help, tips or ever seen a tutorial dealing with colour and tweens before?

thanks :cool:
