# Problems with making a button play an animation \[renamed\]

**URL:** <https://forum.kirupa.com/t/problems-with-making-a-button-play-an-animation-renamed/123179>\
**Category:** Uncategorized\
**Created:** [September 21, 2004, 8:47am UTC](https://forum.kirupa.com/t/problems-with-making-a-button-play-an-animation-renamed/123179 "2004-09-21T08:47:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lord\_viper](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@lord\_viper](https://forum.kirupa.com/u/lord_viper)\
**Post date:** [September 21, 2004, 8:47am UTC](https://forum.kirupa.com/t/problems-with-making-a-button-play-an-animation-renamed/123179/1 "2004-09-21T08:47:28Z")

</div>

hi im not sure how to put this… but i need help finishing out the pathway to my movie clip… or somthing like that… let me explain…  
this is how my document is set out…  
-\> means the next this is inside the one before it.  
Scene 1 -\> Menu -\>Tween 1 -\>Button1 -\> home(mc)

what i want to do is… when my mouse rolls over the button1, it will make home(mc) go to a certain frame and start ot play… this is what i could come up with but it didnt work… i got the path wrong i thinks…

on (rollOver) {  
button1.home(mc).gotoAndPlay(2);  
}

that part of code is on the button1…

plz can someone help 😃 i would be very greatfull…
