clodagh
04-17-2007, 02:04 PM
I need to send a few variables to a servlet over a server. getURL() works but it opens up a browser window which i don't want. LoadVars doesn't seem to like me or defining vars that are most certainly there.
So if anyone knows how to stop the browser window from opening, do tell or if they can see why my_lv.mbrId.. is coming up undefined, if tracing the other side of the operator it gives the correct value.
on(press){
var my_lv:LoadVars = new LoadVars();
my_lv.mbrId = mbrId_txt.text;
my_lv.holNo = holNo_txt.text;
my_lv.stroke = stroke_txt.text
my_lv.send("setscore.cfm", "_blank", "POST");
trace(my_lv.holNo+"&"+my_lv.mbrId)
}
So if anyone knows how to stop the browser window from opening, do tell or if they can see why my_lv.mbrId.. is coming up undefined, if tracing the other side of the operator it gives the correct value.
on(press){
var my_lv:LoadVars = new LoadVars();
my_lv.mbrId = mbrId_txt.text;
my_lv.holNo = holNo_txt.text;
my_lv.stroke = stroke_txt.text
my_lv.send("setscore.cfm", "_blank", "POST");
trace(my_lv.holNo+"&"+my_lv.mbrId)
}