enviando variable
Código ActionScript :
form_lv = new LoadVars(); form_lv.edadL = this._parent.orden.text; //Enviamos las variables a registrar.php form_lv.sendAndLoad("http://localhost/webfinal/load.php", form_lv, "POST"); //Recibimos y manejamos las variables que vienen de registrar.php form_lv.onLoad = function() { if (this.estatus == "ok") { //form_lv.send("http://localhost/webfinal/load.php",form_lv,"POST"); myURL="javascript:SWFDelegate('01.swf','550','400','"+ this._parent.titulo.text +"')" //myURL="javascript:SWFDelegate('proyectos/proyecto"+ this._parent.orden.text +"/01.swf','550','400','"+ this._parent.titulo.text +"')" getURL(myURL) //getURL("javascript:LightboxDelegate('proyectos/proyecto1/01.jpg','caption1')") } else { proces.text = "ERROR: No se pudo registrar al usuario" } }
[php]$varedad = $HTTP_POST_VARS["edadL"];
echo "&estatus=ok&";[php]
el que lo recibe
Código ActionScript :
lv = new LoadVars(); lv.load("http://localhost/webfinal/load.php"); lv.onLoad = function(){ elTexto.text= this["varedad"] //elTexto.text= this["varedad"] _global.proyt=elTexto.text;
Alguien me puede decir que hago mal? Muchas gracias