# \[AS3\] Simple RollOver

**URL:** <https://forum.kirupa.com/t/as3-simple-rollover/224109>\
**Category:** open source\
**Created:** [April 28, 2007, 5:54pm UTC](https://forum.kirupa.com/t/as3-simple-rollover/224109 "2007-04-28T17:54:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshchernoff](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshchernoff/32/1852_2.png) [@joshchernoff](https://forum.kirupa.com/u/joshchernoff)\
**Post date:** [April 28, 2007, 5:54pm UTC](https://forum.kirupa.com/t/as3-simple-rollover/224109/1 "2007-04-28T17:54:07Z")

</div>

First of all I would like to thank [FizixMan and [URL=“http://www.kirupa.com/forum/member.php?u=33163”]B L U E](http://www.kirupa.com/forum/member.php?u=33121) for helping me out with this.

This is a simple Roll Over class that will play the MovieClip that you specify to play to the end with a RollOver and at any time play back to the first key frame from it’s current fame upon RollOut. This makes for a nice smooth roll over effect

example  
[http://gfxcomplex.com/labs/RollOver.html](http://gfxcomplex.com/labs/RollOver.html)

Zip:  
[http://gfxcomplex.com/labs/RollOver.zip](http://gfxcomplex.com/labs/RollOver.zip)
