# \[Flash CS3\] AS 2 - Current Frame + n frames

**URL:** <https://forum.kirupa.com/t/flash-cs3-as-2-current-frame-n-frames/280642>\
**Category:** flash\
**Created:** [January 29, 2009, 9:08pm UTC](https://forum.kirupa.com/t/flash-cs3-as-2-current-frame-n-frames/280642 "2009-01-29T21:08:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maroneyi](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@Maroneyi](https://forum.kirupa.com/u/Maroneyi)\
**Post date:** [January 29, 2009, 9:08pm UTC](https://forum.kirupa.com/t/flash-cs3-as-2-current-frame-n-frames/280642/1 "2009-01-29T21:08:35Z")

</div>

Hello,  
In my flash file I would like to be able to click a button and jump a head by “n” frames from the current frame (as opposed to jumping to a predetermined frame).

Something similar to (but obviously a bit more complicated than)  
gotoAndPlay(currentframe + n);

I would like to do this because there are animations going on that need to resume from the same place. So in my case I would jump ahead 273 frames from the current frame so that there is not skip in the animation.

How would I go about this?

Thanks,  
-Ian
