# AS2 \_currentframe syntax question

**URL:** <https://forum.kirupa.com/t/as2--currentframe-syntax-question/296712>\
**Category:** flash\
**Created:** [September 18, 2009, 6:11pm UTC](https://forum.kirupa.com/t/as2--currentframe-syntax-question/296712 "2009-09-18T18:11:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnb2](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@johnb2](https://forum.kirupa.com/u/johnb2)\
**Post date:** [September 18, 2009, 6:11pm UTC](https://forum.kirupa.com/t/as2--currentframe-syntax-question/296712/1 "2009-09-18T18:11:37Z")

</div>

Hello,

I’m looking for the correct syntax on code that will grab the current frame + frame numbers.

I have 900 frames with a movie playing within frames 1-450.

The code is…

on(rollover){  
gotoAndStop.\_currentframe + 450;  
}

This isn’t correct because its not working. How would I add the + 450?
