# Newbie btn inside mc loses functionality?

**URL:** <https://forum.kirupa.com/t/newbie-btn-inside-mc-loses-functionality/191833>\
**Category:** Uncategorized\
**Created:** [June 23, 2006, 10:31am UTC](https://forum.kirupa.com/t/newbie-btn-inside-mc-loses-functionality/191833 "2006-06-23T10:31:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lowey](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@lowey](https://forum.kirupa.com/u/lowey)\
**Post date:** [June 23, 2006, 10:31am UTC](https://forum.kirupa.com/t/newbie-btn-inside-mc-loses-functionality/191833/1 "2006-06-23T10:31:26Z")

</div>

[SIZE=4][/SIZE]  
I have a movie clip that contains a button the buttons are created dynamically using xml. The button has a rollover change colour effect. When the movie is run the buttons change colour as expected when the mouse rolls over them. However as soon as I add code to a button to perform an action the button loses the rollover effect.

Why is this??

Is it something to do with event capturing and propagation?

How is it possible to overcome this??
