# Paintbrush won't change color

**URL:** <https://forum.kirupa.com/t/paintbrush-wont-change-color/34017>\
**Category:** Uncategorized\
**Created:** [October 26, 2003, 11:20pm UTC](https://forum.kirupa.com/t/paintbrush-wont-change-color/34017 "2003-10-26T23:20:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SetroGamer](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@SetroGamer](https://forum.kirupa.com/u/SetroGamer)\
**Post date:** [October 26, 2003, 11:20pm UTC](https://forum.kirupa.com/t/paintbrush-wont-change-color/34017/1 "2003-10-26T23:20:39Z")

</div>

I’m working on a kind of “interactive logo” for a site and I’ve encountered a problem. When they drag the paintbrush over a jar of paint, the text and the tip of the paintbrush should change to the color of the paint. The problem I’m having is that the tip of the paintbrush won’t change color. I attached the file. If someone could fix it I’d really appreciate it. 🙂

---

<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:** [October 27, 2003, 10:27am UTC](https://forum.kirupa.com/t/paintbrush-wont-change-color/34017/2 "2003-10-27T10:27:37Z")

</div>

it’s not working cause your paintbrush and paintbrushtip are buttons.  
change them to mc(in the property window) and put this (new)code:  
[AS]onClipEvent (enterFrame) {  
this.onPress = function() {  
this.startDrag(true);  
};  
this.onRelease = function() {  
stopDrag();  
};  
}[/AS]

scotty:thumb:

---

<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:** [October 27, 2003, 10:51pm UTC](https://forum.kirupa.com/t/paintbrush-wont-change-color/34017/3 "2003-10-27T22:51:44Z")

</div>

It works-thank you!! 🙂

---

<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:** [October 27, 2003, 11:16pm UTC](https://forum.kirupa.com/t/paintbrush-wont-change-color/34017/4 "2003-10-27T23:16:21Z")

</div>

no problem:thumb:
