Comunidad de diseño web y desarrollo en internet online

variables de PHP a FLash

Citar            
MensajeEscrito el 19 Dic 2006 01:07 am
Que hay ojala me entienda tengo esto en PHP

Código :

<?php
$file = fopen("may_xml.xml", "w+") or die("Error XML");
$xmlString = $HTTP_RAW_POST_DATA; 
if(!fwrite($file, $xmlString)){
    print "Error XML";
} 
fclose($file);

?>  

buen y lo quiero cargar en Flash con esto

Código :

send_btn.onRelease = function() {   
   myxml.sendAndLoad("book.php", recivoXML);
};

YA HABIENDO CREADO EL OBJETO MYXML Y RECEIBERXML bueno siquiero que php escriba en el XML ya esta hecho funciona bien PERO si quiero que PHP envie una variable avisando a Flash que el proceso de escritura ha terminado no puede intente con esto :

Código :

<?php
$file = fopen("may_xml.xml", "w+") or die("Error XML");
$xmlString = $HTTP_RAW_POST_DATA; 
if(!fwrite($file, $xmlString)){
    print "Error XML";
} else{
print("&enviado=si");
}
fclose($file);

?>  

Pero no segun tendria que devolver &enviado= si en HTML no? justo al terminar el proceso de escritura ojala me entiendan :?

Por dan12

155 de clabLevel



Genero:Masculino  

México

firefox
Citar            
MensajeEscrito el 19 Dic 2006 06:07 pm
pues deberia funcionar asi, como le haces para cargarlo en flash? o que error te da?

Por erny_2004

Claber

166 de clabLevel



Genero:Masculino  

Morelia, Michoacan

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.