This might be a sandbox / security issue. Try to check (by logging
something or sending a mail to yourself if logging is not an option) to
see if your asp actually gets called by the swf in the browser (my guess
is not). Adding a crossdomain.xml might work?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mayur
Bais
Sent: woensdag 15 februari 2006 9:00
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] asp + flash

I having the following Problem ..i  would be really thankful if some one
here can help me with this.

the asp for me is just not working...
i have this code in my flash file
   var result_lv:LoadVars = new LoadVars(); var send_lv:LoadVars = new
LoadVars(); login.clickHandler = function(evt:Object) { result_lv.onLoad
= function(success:Boolean) {
  if (success) {
   result_ta.text = "success"
  } else {
   result_ta.text = "Error connecting to server.";
  }
};
send_lv.sendAndLoad("http://localhost/timeSheet/mayur.asp";, result_lv,
"POST"); };




and just a reponse.write("dONE ") in asp .. when i run asp alone in
browser it works..
when i publish the flash file in the flash IDE just by ctrl+enter I can
"suceess" in the text box..its just not owrking when i open the swf in
browser .

Please help ..
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to