# Changing fill of a button via actionscript

**URL:** <https://forum.kirupa.com/t/changing-fill-of-a-button-via-actionscript/308873>\
**Category:** flash\
**Created:** [May 2, 2010, 10:02am UTC](https://forum.kirupa.com/t/changing-fill-of-a-button-via-actionscript/308873 "2010-05-02T10:02:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hjenes](https://avatars.discourse-cdn.com/v4/letter/h/3be4f8/32.png) [@hjenes](https://forum.kirupa.com/u/hjenes)\
**Post date:** [May 2, 2010, 10:02am UTC](https://forum.kirupa.com/t/changing-fill-of-a-button-via-actionscript/308873/1 "2010-05-02T10:02:57Z")

</div>

I need to change the fill of a button to a bitmap image after user has clicked it and also disable the button after user has clicked it.

Thanks in advance!
