# Mouse out animation?

**URL:** https://forum.kirupa.com/t/mouse-out-animation/84528
**Category:** Uncategorized
**Created:** [March 28, 2005, 4:15pm UTC](https://forum.kirupa.com/t/mouse-out-animation/84528 "2005-03-28T16:15:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![danulf](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/danulf/32/555_2.png) [@danulf](https://forum.kirupa.com/u/danulf)
#### Post date: [March 28, 2005, 4:15pm UTC](https://forum.kirupa.com/t/mouse-out-animation/84528/1 "2005-03-28T16:15:56Z")

</div>

Ok, so what I want is that an animation will be played on mouseout…

I _ **suck** _ at AS, so this is the closest I can get to a solution:

```php
 on(rollOut){
 _root.hover.gotoAndPlay("out");
}

```

I haven’t done flash in quite a while, so i forgot how to use the \_root thingie…  
I know you guys at kirupa are wizards so please help me! :puzzled:

PS.  
In the button, I have a MC (called hover) that lies on ‘over’, and the AS is on the button.
