# FMX2004-probably really simple?! next frame action

**URL:** <https://forum.kirupa.com/t/fmx2004-probably-really-simple-next-frame-action/186666>\
**Category:** flash\
**Created:** [April 23, 2006, 1:49pm UTC](https://forum.kirupa.com/t/fmx2004-probably-really-simple-next-frame-action/186666 "2006-04-23T13:49:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![deansawyer](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@deansawyer](https://forum.kirupa.com/u/deansawyer)\
**Post date:** [April 23, 2006, 1:49pm UTC](https://forum.kirupa.com/t/fmx2004-probably-really-simple-next-frame-action/186666/1 "2006-04-23T13:49:27Z")

</div>

HELP!

Ok well i got this from one of the tut’s on here, basically it allows me to move over a little animation of a button and then rollout and it dissapears as easy as it came in. Its great, it works but i am having trouble making it move onto the next frame; heres the source code;

//stop();

stop();

this.onEnterFrame = function(){  
if(rewind == true){  
prevFrame();  
}  
}

this.onRollOver = function(){  
rewind = false;  
play();  
}

this.onRollOut = function(){  
rewind = true;  
}

this.onRelease = function(){  
nextFrame();  
}

\*\*\*\*\*\* Basically i need this button to simply move onto the next frame in the movie. Please find attached the .fla

dean  
[www.digitalboxes.co.uk](http://www.digitalboxes.co.uk)

---

<div class="post-metadata">

**Author:** ![Uli](https://avatars.discourse-cdn.com/v4/letter/u/ccd318/32.png) [@Uli](https://forum.kirupa.com/u/Uli)\
**Post date:** [April 23, 2006, 3:08pm UTC](https://forum.kirupa.com/t/fmx2004-probably-really-simple-next-frame-action/186666/2 "2006-04-23T15:08:16Z")

</div>

this.onRelease = function(){  
this.\_parent.nextFrame();  
}

or

this.onRelease = function(){  
\_root.nextFrame();  
}

should do

---

<div class="post-metadata">

**Author:** ![deansawyer](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@deansawyer](https://forum.kirupa.com/u/deansawyer)\
**Post date:** [April 23, 2006, 7:00pm UTC](https://forum.kirupa.com/t/fmx2004-probably-really-simple-next-frame-action/186666/3 "2006-04-23T19:00:35Z")

</div>

Thankyou Canada!!

That worked a treat! :}
