# Problem with Sending mail with flash

**URL:** <https://forum.kirupa.com/t/problem-with-sending-mail-with-flash/88352>\
**Category:** flash\
**Created:** [April 28, 2005, 4:24pm UTC](https://forum.kirupa.com/t/problem-with-sending-mail-with-flash/88352 "2005-04-28T16:24:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![malidia](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/malidia/32/684_2.png) [@malidia](https://forum.kirupa.com/u/malidia)\
**Post date:** [April 28, 2005, 4:24pm UTC](https://forum.kirupa.com/t/problem-with-sending-mail-with-flash/88352/1 "2005-04-28T16:24:57Z")

</div>

Hello, okay, here is my problem i have used this tutorial\>

[http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)

\< and it works great, except i am using an externally loaded .swf to make the form and when i altered and added the code:

```auto

[color=#003366]onClipEvent(data){ 
   _root.gotoAndPlay(80); 
} [/color][url="http://www.kirupa.com/developer/actionscript/flash_php_email.htm"]

```

to the “form” instance movie clip, it obviously went to and played frame 80 of my main movie, which is not what i wanted, although it did speak to the PHP file and it did email me a message, NOW, when i changed to code to read like this:

```auto
  
onClipEvent(data){ 
   gotoAndPlay(80); 
} 

```

nothing happens when i press on the button to send the variables, i have gone back and forth and this is the only thing that has changed…i don’t understand why it won’t speak to the PHP file after i have done this,

here is the FLA file of the externally loaded .swf i am working on [http://www.troyblank.com/temp/contactexample.fla](http://www.troyblank.com/temp/contactexample.fla)

any help would be appreciated :puzzled:
