# RollOver and RollOut problems

**URL:** <https://forum.kirupa.com/t/rollover-and-rollout-problems/213445>\
**Category:** flash\
**Created:** [January 19, 2007, 5:14pm UTC](https://forum.kirupa.com/t/rollover-and-rollout-problems/213445 "2007-01-19T17:14:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcusbrunstrom](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@marcusbrunstrom](https://forum.kirupa.com/u/marcusbrunstrom)\
**Post date:** [January 19, 2007, 5:14pm UTC](https://forum.kirupa.com/t/rollover-and-rollout-problems/213445/1 "2007-01-19T17:14:23Z")

</div>

Hi.

I have a small problem with a movieclip.

My movieclip called bild1 has a RollOver AS and a RollOut AS in it.  
That works fine, and when I move over the mc the RollOut takes over.

It’s when the I rollover the mc again without having the RollOut to finish the problems start.  
Then the mc starts to jump very strange. So does anyone have a bit of code to disable the RollOver to start if the RollOut hasn’t finished.

Here’s my code

```auto

this.bild1.onRollOver = function() {
    bild1.gotoAndPlay ("_over");
}

this.bild1.onRollOut = function() {
    bild1.gotoAndPlay ("_out");
}

```
