# Problem with button functionality in CS5

**URL:** <https://forum.kirupa.com/t/problem-with-button-functionality-in-cs5/327899>\
**Category:** flash\
**Created:** [April 4, 2012, 3:23pm UTC](https://forum.kirupa.com/t/problem-with-button-functionality-in-cs5/327899 "2012-04-04T15:23:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![m2244](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@m2244](https://forum.kirupa.com/u/m2244)\
**Post date:** [April 4, 2012, 3:23pm UTC](https://forum.kirupa.com/t/problem-with-button-functionality-in-cs5/327899/1 "2012-04-04T15:23:12Z")

</div>

Hello,

I am trying to add a button from the library to the stage using code. It seems to work fine except that when I hover over the button it does not work like a button. I don’t get the over state of the button, I don’t get the hand cursor, things like that.

Any suggestions?
