# buttonMode should be simple right?

**URL:** <https://forum.kirupa.com/t/buttonmode-should-be-simple-right/265235>\
**Category:** flash\
**Created:** [July 6, 2008, 7:36pm UTC](https://forum.kirupa.com/t/buttonmode-should-be-simple-right/265235 "2008-07-06T19:36:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![autumnmedia](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@autumnmedia](https://forum.kirupa.com/u/autumnmedia)\
**Post date:** [July 6, 2008, 7:36pm UTC](https://forum.kirupa.com/t/buttonmode-should-be-simple-right/265235/1 "2008-07-06T19:36:49Z")

</div>

Hi i have a button on the main time line,  
it is called btn1,

now all i want to do is set it so that the mouse doesn’t show when i scroll over it but so that it still will act as a button on rollover.

this should be

btn1.buttonMode = false;

right?

i get this error in the output

ReferenceError: Error #1056: Cannot create property buttonMode on flash.display.SimpleButton.  
at home\_fla::MainTimeline/frame1()

i am putting the action script in the first frame of the timeline  
any help please

---

<div class="post-metadata">

**Author:** ![autumnmedia](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@autumnmedia](https://forum.kirupa.com/u/autumnmedia)\
**Post date:** [July 6, 2008, 7:41pm UTC](https://forum.kirupa.com/t/buttonmode-should-be-simple-right/265235/2 "2008-07-06T19:41:37Z")

</div>

im a fool,  
ive got it.  
closing thread

thanks
