Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/11/2005, 09:15
luque_finde
 
Fecha de Ingreso: marzo-2004
Mensajes: 53
Antigüedad: 20 años, 1 mes
Puntos: 0
Formato Variables Textfield

Hola amigos,

Tengo el sigueinte codigo:

c = new LoadVars();
c.Load("consulta.php");
c.onLoad = function() {

createTextField("t", 0, 17, 0, 0, 0);

//t.text = ("ES UNA PRUEBA ES UNA PRUEBA");
t.autosize = true;
t.multiline = true;
t.variable = ("noticia0");

if (t.textWidth>206) {
t._width = 206;
t.wordWrap = true;
}
t._y = 40 + Math.round(basey);
basey = Math.round(t._height+10);
trace(basey);

numformat = new TextFormat();
numformat.font = "kroeger 05_53";
numformat.embedFonts = true;
numformat.size = 8;
numformat.color = 0xFFFFFF;
t.setTextFormat(numformat);

}

El tema es que a la que activo que me coja el texto de la variable noticia0 ni se me ajusta ni se me da el formato correcto.
Si descomento el t.tex y comento el t.variable si que me dunciona correctamente.

la variable noticia0 es la q hace la consulta con php.

AYUDA PLEASE!! GRACIAS