Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / December 2007



Tip: Looking for answers? Try searching our database.

Flash calling asp problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ahmultHoAngel - 12 Dec 2007 04:37 GMT
hi, I have got to send sth by ASP in Flash. I wrote some code but this doesnt
work. Do anyone know what wrong?

This is what i am writing

on (press) {
form.loadVariables("email.asp", "POST");
}

If I just click on email.asp without Flash, I will get a email from there. But
if I use the above method to call that page, the email wont be sent. So do
anyone know what wrong?
ahmultHoAngel - 13 Dec 2007 00:12 GMT
http://www.sendspace.com/file/ynyv7c

This is the flash file I have updated.

Hope I can get some feedback
ahmultHoAngel - 18 Dec 2007 00:31 GMT
anyone has any ideas?
GenaroRG - 22 Dec 2007 01:32 GMT
If you want to call the asp file from flash you should do it like this

lv= new LoadVars();
lv.onLoad(success){
   if(success){
       trace("file was called");
   }

}
lv.emailAddress="foo@foo.com"
lv.sendAndLoad("email.asp", lv,"POST");

The code above is for calling email.asp, pass a variable called emailAddress
via POST and handling a response from the asp, if you do not wish to receive a
response from the asp just use send() instead of sendAndLoad();
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.