# Go to next frame and execute the code

**URL:** <https://forum.kirupa.com/t/go-to-next-frame-and-execute-the-code/316295>\
**Category:** flash\
**Created:** [November 17, 2010, 11:34pm UTC](https://forum.kirupa.com/t/go-to-next-frame-and-execute-the-code/316295 "2010-11-17T23:34:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mak39](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mak39](https://forum.kirupa.com/u/mak39)\
**Post date:** [November 17, 2010, 11:34pm UTC](https://forum.kirupa.com/t/go-to-next-frame-and-execute-the-code/316295/1 "2010-11-17T23:34:25Z")

</div>

[FONT=Arial]Hi Everyone[/FONT]  
[FONT=Arial] [/FONT]  
[FONT=Arial]I am new in AS, anyways here is what i want…if anybody can help me Thanks in Advance[/FONT]  
[FONT=Arial] [/FONT]  
[FONT=Arial]i have a button in Frame 4 which perform some function on frame on a specific area of movie.[/FONT]  
[FONT=Arial] [/FONT]  
[FONT=Arial]now i am on Frame 1, i want to make a button which 1st goto frame 4 then execute that button’s code [/FONT]  
[FONT=Arial] [/FONT]  
[FONT=Arial] [/FONT]  
[FONT=Arial]Regards[/FONT]
