Groups | Blog | Home
all groups > flash actionscript > october 2004 >

flash actionscript : Problem with the object loadvars


Jose Cardona
10/28/2004 12:37:23 PM
HI people, im sending one var to a .asp page. but when i check it with
geturl in flash i see the loadvars is sending the name of the object as
another variable

-------------------------------[object_lv???]-----------
http://localhost/datoscurso.asp?object%5Flv=cursoid%3Ddw01
-------------------------
i have no idea what is going on

object_lv = new LoadVars();
object_lv.cursoid = "dw01";//this would be a variable but just
to make //this work i type one constant
object_lv.sendAndLoad("datoscurso.asp",object_lv, "POST");
//Estte geturl lo puse ahi solo para saber como envia las variables
//getURL("datoscurso.asp","","GET");
object_lv.onLoad = function() {
this.v5_mc.presentacion_txt.text = "object_lv.resumen";
};

note: sorry about my grammar mistakes

Jose Cardona
theco
10/28/2004 10:00:40 PM
what I suspet is that your variable is not a variable is a string because
the quotation marks comillas
"dw01" your should eliminate the quotation marks
dw01

elimina las comillas del la variable siempre que usas variables van fuera de
comillas

[quoted text, click to view]

AddThis Social Bookmark Button