# Reversing Animation Using A Function

**URL:** <https://forum.kirupa.com/t/reversing-animation-using-a-function/218853>\
**Category:** flash\
**Created:** [March 11, 2007, 10:15pm UTC](https://forum.kirupa.com/t/reversing-animation-using-a-function/218853 "2007-03-11T22:15:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomyknoker](https://avatars.discourse-cdn.com/v4/letter/t/50afbb/32.png) [@tomyknoker](https://forum.kirupa.com/u/tomyknoker)\
**Post date:** [March 11, 2007, 10:15pm UTC](https://forum.kirupa.com/t/reversing-animation-using-a-function/218853/1 "2007-03-11T22:15:10Z")

</div>

Hi all,

I have an mc which when rollOver plays an animation (works like a button), on rollOut I want the animation to play in reverse… I have seen it done before using a fucntion, but can’t seem to get it to work… If I just reverse all the frames and get it to play that on rollOut it doesn’t work properly…
