Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/04/2005, 23:37
sqa212
 
Fecha de Ingreso: mayo-2003
Mensajes: 866
Antigüedad: 20 años, 11 meses
Puntos: 0
createTextField desde Array

Estoy intentando algo asi, pero no va.
cateproductos= new Array("A","B","C","D","E");
myformat = new TextFormat();
myformat.color = 0xff0000;
for(i=0; i<cateproductos.length; ++i){
createTextField('textobot'+i,500+i,84,8,80,30);
with(textobot+i){
border = true;
type='static';
multiline=false;
wordwrap=true;
selectable=false;
text=cateproductos[i];
this.textobot+i.setTextFormat(myformat);
}

}