# nextFrame

**URL:** <https://forum.kirupa.com/t/nextframe/208010>\
**Category:** flash\
**Created:** [November 23, 2006, 10:35pm UTC](https://forum.kirupa.com/t/nextframe/208010 "2006-11-23T22:35:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![podaskos](https://avatars.discourse-cdn.com/v4/letter/p/90db22/32.png) [@podaskos](https://forum.kirupa.com/u/podaskos)\
**Post date:** [November 23, 2006, 10:35pm UTC](https://forum.kirupa.com/t/nextframe/208010/1 "2006-11-23T22:35:46Z")

</div>

I an newby in actionscript (and in thw forum) and i am creating a simple quiz. I want to go the next frame if the player press a button 3 times. I use the code:  
on (release) {  
\_root.total = \_root.total + 1;  
if (\_root.total == 3){  
nextFrame;  
}  
}

but [FONT=‘Times New Roman’]nothing. What I make wrong???[/FONT]
