# Attaching MC dynamically to button state

**URL:** <https://forum.kirupa.com/t/attaching-mc-dynamically-to-button-state/93739>\
**Category:** Uncategorized\
**Created:** [November 4, 2003, 11:23am UTC](https://forum.kirupa.com/t/attaching-mc-dynamically-to-button-state/93739 "2003-11-04T11:23:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jess](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@jess](https://forum.kirupa.com/u/jess)\
**Post date:** [November 4, 2003, 11:23am UTC](https://forum.kirupa.com/t/attaching-mc-dynamically-to-button-state/93739/1 "2003-11-04T11:23:38Z")

</div>

Hi there,

This is my first post in Kirupa, so it’s the opportunity for me to congratulates admins and contributors’ s works in here : I learnt a lot from this forum and the tutorials beside.

Now to the point.

How to dynamically attach a specific MC to each Button’s states ?

In order to be able to change them at run-time, I’d like to attach a MC on the button’s \<UP\> state , another MC on the button’s \<OVER\> state, and so on, with the possibility to change these MC later on. The button is, itself, encapsulated in another MC.

If I made myself clear :crazy:, would you have any suggestion ?

PS : I’m using mx2004.
