# Keeping a button one color

**URL:** https://forum.kirupa.com/t/keeping-a-button-one-color/120003
**Category:** Uncategorized
**Created:** [August 19, 2004, 7:47pm UTC](https://forum.kirupa.com/t/keeping-a-button-one-color/120003 "2004-08-19T19:47:06Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![flashstupid](https://avatars.discourse-cdn.com/v4/letter/f/35a633/32.png) [@flashstupid](https://forum.kirupa.com/u/flashstupid)
#### Post date: [August 19, 2004, 7:47pm UTC](https://forum.kirupa.com/t/keeping-a-button-one-color/120003/1 "2004-08-19T19:47:06Z")

</div>

Ok, I’ve made these buttons that I have that start out as a white circle. I have made the different states and colors for the up, down, over, hit states. But when I click the button, I want it to remain black. When I click down it turns black, but when I let go, it goes back to white. How do I make it so that it stays black?

---

<div class="post-metadata">

### Author: ![maximum\_flash](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@maximum\_flash](https://forum.kirupa.com/u/maximum_flash)
#### Post date: [August 19, 2004, 8:04pm UTC](https://forum.kirupa.com/t/keeping-a-button-one-color/120003/2 "2004-08-19T20:04:36Z")

</div>

you could make a state for the button that assigns a value when its clicked on. when its true, the background of your button can be set to whatever you want.

---

<div class="post-metadata">

### Author: ![maximum\_flash](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@maximum\_flash](https://forum.kirupa.com/u/maximum_flash)
#### Post date: [August 19, 2004, 8:55pm UTC](https://forum.kirupa.com/t/keeping-a-button-one-color/120003/3 "2004-08-19T20:55:09Z")

</div>

this will help explain it.

---

<div class="post-metadata">

### Author: ![Prophet](https://avatars.discourse-cdn.com/v4/letter/p/838e76/32.png) [@Prophet](https://forum.kirupa.com/u/Prophet)
#### Post date: [August 19, 2004, 10:47pm UTC](https://forum.kirupa.com/t/keeping-a-button-one-color/120003/4 "2004-08-19T22:47:50Z")

</div>

u wanna search for _sticky buttons_ theres loads on them…  
also have a look for the smartclip navigation thread (mite be in the AS forum, not sure) because i know ive just answered a similar question with flas and explaination 😉

Prophet.
