var st01:Array=new Array('yuxtaposició','pрпак','teclat','colom','arreboire',
'contingut','blau','rentadora','cadira','ratoli','jerro','id¶☺a','pare','teclat',
'malson','desgracia','finestra','taronja','caball','lampada','escacs','tintorera',
'ura','plati','esquema','llantia','mag','electro','cantar','rodona');
var formatoTexto:TextFormat=new TextFormat();
for(n=0;n<=29;n++){
if((n>=0)&&(n<=9)){r01=n;r02=0;}if((n>=10)&&(n<=19)){r01=(n-10);r02=1;}if((n>=20)&&(n<=29)){r01=(n-20);r02=2;}
k1=r01*20;k2=r02*266;this['spr'+n]=new Sprite;this['tf'+n]=new TextField();
formatoTexto.color=0x000000;formatoTexto.size=11;formatoTexto.align='center';
formatoTexto.font='courier new';formatoTexto.bold=false;
this['tf'+n].defaultTextFormat=formatoTexto;
this['tf'+n].textColor = 0x000000;
this['tf'+n].x=25+k2;
this['tf'+n].y=160+k1;
this['tf'+n].border=true;
this['tf'+n].text = st01[n];
this['tf'+n].width=220;
this['tf'+n].height=20;
this['tf'+n].backgroundColor=0xff22ff;
this['spr'+n].addChild(this['tf'+n]);
this['spr'+n].buttonMode=true;
this['spr'+n].mouseChildren=false;
spr02.addChild(this['spr'+n]);
}
for(var m:uint=0;m<=29;m++){
this['tf'+m]=new TextField();
this['spr'+m]=new Sprite;
this['fout'+m]=new function();
this['fove'+m]=new function();
this['spr'+m].addEventListener(MouseEvent.ROLL_OUT,(this['fout'+m]));
this['spr'+m].addEventListener(MouseEvent.ROLL_OVER,(this['fove'+m]));
}
function fout1(e:MouseEvent):void{this['tf'+m].textColor=0xff0000;}
function fove1(e:MouseEvent):void{this['tf'+m].textColor=0x0000ff;}
addChild(spr02);