# Flash/php mail form tutorial

**URL:** https://forum.kirupa.com/t/flash-php-mail-form-tutorial/72486
**Category:** flash
**Created:** [December 6, 2004, 1:35pm UTC](https://forum.kirupa.com/t/flash-php-mail-form-tutorial/72486 "2004-12-06T13:35:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![IMJ](https://avatars.discourse-cdn.com/v4/letter/i/d2c977/32.png) [@IMJ](https://forum.kirupa.com/u/IMJ)
#### Post date: [December 6, 2004, 1:35pm UTC](https://forum.kirupa.com/t/flash-php-mail-form-tutorial/72486/1 "2004-12-06T13:35:07Z")

</div>

I’ve tried the [Flash-Based Email Form Using PHP tutorial](http://www.kirupa.com/developer/actionscript/flash_php_email.htm). It all works fine right now, but there are two struggles for me:

1. in the PHP-file I had to change $message into $body. (Problem already solved).
2. I cant get the code to work that tells the swf to go the next frame after the mail has been sent.

The code used on the form movieclip is:

```auto
onClipEvent(data) {
_root.nextFrame();
}

```

I’ve searched around in the forum and saw others had problem with this tutorial too, but there hasnt been a proper solution offered.

Does anyone has an idea?

Thanks in advance 🙂
