# Simple button question, hopefully

**URL:** <https://forum.kirupa.com/t/simple-button-question-hopefully/185349>\
**Category:** Uncategorized\
**Created:** [April 12, 2006, 5:51pm UTC](https://forum.kirupa.com/t/simple-button-question-hopefully/185349 "2006-04-12T17:51:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![plugged](https://avatars.discourse-cdn.com/v4/letter/p/a87d85/32.png) [@plugged](https://forum.kirupa.com/u/plugged)\
**Post date:** [April 12, 2006, 5:51pm UTC](https://forum.kirupa.com/t/simple-button-question-hopefully/185349/1 "2006-04-12T17:51:07Z")

</div>

ive got my mail form to work, it sends but doesn’t go to next frame ‘what’ and ‘where’ do i tag it on to this button script?

on (release) {  
// send variables in form movieclip (the textfields)  
// to email PHP page which will send the mail  
form.loadVariables(“email.php”, “POST”);  
}

i just need it to go to the next frame, thanks neil.

---

<div class="post-metadata">

**Author:** ![neutrino](https://avatars.discourse-cdn.com/v4/letter/n/bb73d2/32.png) [@neutrino](https://forum.kirupa.com/u/neutrino)\
**Post date:** [April 12, 2006, 10:11pm UTC](https://forum.kirupa.com/t/simple-button-question-hopefully/185349/2 "2006-04-12T22:11:57Z")

</div>

this.\_parent.gotoAndStop(\<frame number\>);

---

<div class="post-metadata">

**Author:** ![plugged](https://avatars.discourse-cdn.com/v4/letter/p/a87d85/32.png) [@plugged](https://forum.kirupa.com/u/plugged)\
**Post date:** [April 13, 2006, 12:26pm UTC](https://forum.kirupa.com/t/simple-button-question-hopefully/185349/3 "2006-04-13T12:26:01Z")

</div>

thanks neutrino, it didn’t work but this did, wouldn’t have got there without you though, thanks again neil.

on (press) {  
// send variables in form movieclip (the textfields)  
// to email PHP page which will send the mail  
form.loadVariables(“email.php”, “POST”);}  
on (release) {\_root.gotoAndStop(63);}
