# Button Prototype : Is this possible?

**URL:** <https://forum.kirupa.com/t/button-prototype-is-this-possible/256668>\
**Category:** flash\
**Created:** [April 5, 2008, 1:48pm UTC](https://forum.kirupa.com/t/button-prototype-is-this-possible/256668 "2008-04-05T13:48:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![squadjot](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/squadjot/32/3479_2.png) [@squadjot](https://forum.kirupa.com/u/squadjot)\
**Post date:** [April 5, 2008, 1:48pm UTC](https://forum.kirupa.com/t/button-prototype-is-this-possible/256668/1 "2008-04-05T13:48:23Z")

</div>

Hi i need some help

I would like all my buttons to set a variable in \_level0 whenever the button Events are triggered.

The challenge is, that you should still be able to use myMc.onRollOver = function(){trace(“myOtherStuff”)}, as normal…later on…

atleast that seems to be the challenge, as its pretty easy to make a prototype button, and define onRelease etc etc…but thats no good…
