# While posting mail it opens my aspx file in a seperate window

**URL:** <https://forum.kirupa.com/t/while-posting-mail-it-opens-my-aspx-file-in-a-seperate-window/196285>\
**Category:** flash\
**Created:** [August 7, 2006, 12:17pm UTC](https://forum.kirupa.com/t/while-posting-mail-it-opens-my-aspx-file-in-a-seperate-window/196285 "2006-08-07T12:17:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abus](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/abus/32/930_2.png) [@Abus](https://forum.kirupa.com/u/Abus)\
**Post date:** [August 7, 2006, 12:17pm UTC](https://forum.kirupa.com/t/while-posting-mail-it-opens-my-aspx-file-in-a-seperate-window/196285/1 "2006-08-07T12:17:18Z")

</div>

I have been using this function for a long time and this problem never occured. When the user press send button it does send the form as email but it also opens my aspx file in a seperate window.

Here is the page

[http://www.magichair.com.tr/deneme.htm](http://www.magichair.com.tr/deneme.htm)

On the send button I use this code

on (release)  
{  
loadVariablesNum(“mail.aspx”, “\_level”, “POST”);  
gotoAndPlay(2);  
}

Why is this thing happening?
