# newColor()?

**URL:** <https://forum.kirupa.com/t/newcolor/40446>\
**Category:** flash\
**Created:** [January 18, 2004, 9:57pm UTC](https://forum.kirupa.com/t/newcolor/40446 "2004-01-18T21:57:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![timothye](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@timothye](https://forum.kirupa.com/u/timothye)\
**Post date:** [January 18, 2004, 9:57pm UTC](https://forum.kirupa.com/t/newcolor/40446/1 "2004-01-18T21:57:25Z")

</div>

can anyone explain this .  
just for a test i wnt to actionScript this btn …  
to change Color on the Over state…

```auto

myBtn.onRollOver = function() {
	new Color("myBtn");
	this.myBtn.Color = ("#000000");
};

```

i think i am not setting the color correctly=("#000000")  
anyone .?  
:q:
