flash mail form
- Started
- Last post
- 9 Responses
- force
Im doing on a mail-form on the flash-site im currently working on.
It all works fine, this is the code for the submit button:as:---
sendButton.onRelease = function(){
var lv = new LoadVars;
lv.name=name.text;
lv.email=email.text;
lv.message = message.text;
lv.send("sendMail.asp",lv,"POST...
};---
It works great, I recieve the mails nicely.
The only problem is that when i click the submit-button, the site stops for a second, and then I get the asp-file popping up, like I was opening a new page.
I want it to run in the background and not open up.Any suggestions ?
- rabattski0
i think you need to check the sendmail.asp code for that.
- tomkat0
I use getURL for that with POST - nothing popping there :P
- force0
what in the asp-code could cause it to open up ?
alright, but isnt loadVars the prefered code for this kid of stuff ?
- tomkat0
that might be, but at the time I made that sendmail thingy, there was no such thing as loadVars..
*sigh*
teh goodol' daze..
- force0
heh...yeh dem were de daze!
damn, this is driving me nuts...
- force0
ok, i tried using sendAndLoad instead of just send...and it seems to be working fine.
pretty strange.thnx for the replys anyways, cheers.
- unfittoprint0
I use php instead of asp, and juste the load method instead of send/sendAndLoad [with no POST/GET parameter].
It works.
- jpolk0
POST caused really weird problems in flash 5. i've not used it since.
- canuck0
use php. you'll have less problems.