# Buttons within a movie clips

**URL:** <https://forum.kirupa.com/t/buttons-within-a-movie-clips/257325>\
**Category:** Uncategorized\
**Created:** [April 12, 2008, 6:46pm UTC](https://forum.kirupa.com/t/buttons-within-a-movie-clips/257325 "2008-04-12T18:46:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alber\_Kidd](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)\
**Post date:** [April 12, 2008, 6:46pm UTC](https://forum.kirupa.com/t/buttons-within-a-movie-clips/257325/1 "2008-04-12T18:46:25Z")

</div>

I have 5 movie clips (that behave like buttons) in a movieclip. They animate in. The parent is called menuAnim and is on the main timeline.

When the button animation stops (frame 35) I want to add event listeners to the buttons. I have treid this

stop();  
aboutus\_but.addEventListener(MouseEvent.CLICK, MovePage);

I get

1120: Access of undefined property aboutus\_but.

I have given the buttom the instancename (about\_but);
