# Smooth Mouse ON / Mouse OUT

**URL:** <https://forum.kirupa.com/t/smooth-mouse-on-mouse-out/153933>\
**Category:** flash\
**Created:** [July 5, 2005, 8:32pm UTC](https://forum.kirupa.com/t/smooth-mouse-on-mouse-out/153933 "2005-07-05T20:32:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![losse](https://avatars.discourse-cdn.com/v4/letter/l/9d8465/32.png) [@losse](https://forum.kirupa.com/u/losse)\
**Post date:** [July 5, 2005, 8:32pm UTC](https://forum.kirupa.com/t/smooth-mouse-on-mouse-out/153933/1 "2005-07-05T20:32:58Z")

</div>

Hi guys  
Have a look at the script below. I have a button that has some actions when I mouse over… right now, when you mouse OUT it choppily goes back to it’s normal state and I was wondering if there was something I could put in the code so that even if you quickly mouseON and then mouseOUT, the whole movie plays out… so that the transition flows smoothly…

on (rollOver) {  
tellTarget ("/design") {  
gotoAndPlay (“1open”);  
}  
}  
on (rollOut) {  
tellTarget ("/design") {  
gotoAndPlay (“1close”);  
}  
}

on (release) {  
getURL(“design.html”);

}
