# Class Color Set

**URL:** <https://forum.kirupa.com/t/class-color-set/188450>\
**Category:** flash\
**Created:** [May 8, 2006, 3:34am UTC](https://forum.kirupa.com/t/class-color-set/188450 "2006-05-08T03:34:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcem](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@dcem](https://forum.kirupa.com/u/dcem)\
**Post date:** [May 8, 2006, 3:34am UTC](https://forum.kirupa.com/t/class-color-set/188450/1 "2006-05-08T03:34:04Z")

</div>

Hey guys,

I have created a class called RButton which extends MovieClip.  
I want it so that when i use attachMovie(“RButton”…) to create an instance of this i can send it a hex color value and it will be created in that color. How would i go about doing this?

Cheers!
