# OOP programming problem

**URL:** <https://forum.kirupa.com/t/oop-programming-problem/304426>\
**Category:** Uncategorized\
**Created:** [February 7, 2010, 9:34pm UTC](https://forum.kirupa.com/t/oop-programming-problem/304426 "2010-02-07T21:34:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geki](https://avatars.discourse-cdn.com/v4/letter/g/cab0a1/32.png) [@Geki](https://forum.kirupa.com/u/Geki)\
**Post date:** [February 7, 2010, 9:34pm UTC](https://forum.kirupa.com/t/oop-programming-problem/304426/1 "2010-02-07T21:34:54Z")

</div>

Hello,

I have a .as file that creates 6 buttons. For the buttons I have another .as that is their base class (sets the rollover effects). That .as also handles the CLICK event on those buttons.  
But nomatter how I try I can’t seem to make it so, that if one of the buttons is clicked it would turn to 3rd .as that would make a MC called “rabbit” on the stage move.

Help please.
