Comunidad de diseño web y desarrollo en internet online

No toma las variables mi archivo de flash

Citar            
MensajeEscrito el 21 Abr 2005 11:00 pm
Tengo esto en el flash:

var a = new LoadVars();
a.load("comentarios.php");
a.onLoad = function() {
texto_txt.text = this.fecha3;
};

Y en el php:

<?php
//creamos las variables
$fecha1 = "Album de fotos del Sábado 20 de Ábril, Ladies Night.";
$fecha2 = "222222222222222222222222222222222222222222222222";
$fecha3 = "33333333333333333333333333333333333333333333";
/*las imprimimos*/
echo ("$fecha1, $fecha2, $fecha3")
?>

Pero el flash solo me saca undefined, el primero codigo del flash lo tengo en fecha1, fecha2 y fecha3, si me funciona, pero solo si utilizo una variable por archivo PHP, ke fecha1.swf pida su variable a fecha1.php y asi con cada uno, pero no puedo hacer ke todas las variables esten en el mismo php

Por Boxter

38 de clabLevel



Genero:Masculino  

México

netscape
Citar            
MensajeEscrito el 21 Abr 2005 11:35 pm
Prueba a poner

echo "&fecha1=$fecha1&fecha2=$fecha2&fecha3=$fecha3";

Por Cyril

45 de clabLevel



 

firefox
Citar            
MensajeEscrito el 22 Abr 2005 03:36 am
Poca madre, muchas gracias, ya quedo :p

Por Boxter

38 de clabLevel



Genero:Masculino  

México

netscape

 

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