# Movieclip rollover in AS3

**URL:** <https://forum.kirupa.com/t/movieclip-rollover-in-as3/306821>\
**Category:** Uncategorized\
**Created:** [March 23, 2010, 3:25am UTC](https://forum.kirupa.com/t/movieclip-rollover-in-as3/306821 "2010-03-23T03:25:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ponrhartman](https://avatars.discourse-cdn.com/v4/letter/p/82dd89/32.png) [@ponrhartman](https://forum.kirupa.com/u/ponrhartman)\
**Post date:** [March 23, 2010, 3:25am UTC](https://forum.kirupa.com/t/movieclip-rollover-in-as3/306821/1 "2010-03-23T03:25:06Z")

</div>

hi this is my first post here so hello everyone!

any way i have this script that works fine in AS2 but not 3 for some reason  
basically i put it on the timeline inside of a movie clip and when you rollover it it plays the animation, and when you rollout it rewinds and goes back to the first frame, i use it for rollover buttons, ive been trying to figure it out but no luck ☹  
thanks in advance!
