# enterFrame

**URL:** https://forum.kirupa.com/t/enterframe/71657
**Category:** flash
**Created:** [November 27, 2004, 11:13pm UTC](https://forum.kirupa.com/t/enterframe/71657 "2004-11-27T23:13:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![The\_Vulcan](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/the_vulcan/32/145_2.png) [@The\_Vulcan](https://forum.kirupa.com/u/The_Vulcan)
#### Post date: [November 27, 2004, 11:13pm UTC](https://forum.kirupa.com/t/enterframe/71657/1 "2004-11-27T23:13:54Z")

</div>

I am trying to get a movie to update it’s color after the user clicks on a button and changes the value of Red Green Blue.

How do I set it so that it keeps checking and changes it’s color once the button has been clicked.

this is what I have on my movie.

```auto
onEnterFrame = function() {
my_color = new Color(this.window1);
my_color.setTransform(_root.myColorTransform);}

```
