aqui esta el codigo:
// UBICACION DEL TEXTO
var lv_textosd=new LoadVars();
var ancho=50;
var alto=20;
var spacer=0.5;
var posy=350;
CARGAPDF._visible=false;
formato = new TextFormat;
formato.color=0x000000;
formato.font="Arial";
formato.size=8;
formato.underline=true;
formato.html=true;
formato.scroll=true;
//CREA BOTONES
numboton = 10;
for (i=1; i<=numboton; i++) {
duplicateMovieClip("boton", "boton"+i, i*500);
this["boton"+i]._y = 146+15*i;
this["boton"+i]._x = 70;
}
//CARGA ARCHIVO TXT
lv_textosd.load("NORMAS.txt");
lv_textosd.onLoad=function(carga){
if(carga){
trace(this.NUMVARS);
//CREA TEXTO DINAMICO
for(i=1;i<=this.NUMVARS;i++){
posy=120+15*i;
_root.createTextField("CODIGO" + i,i,10,posy,40,alto);
_root.createTextField("TITULO" + i,this.NUMVARS+i,40,posy,300,alto);
_root.createTextField("TIPO" + i,2*this.NUMVARS+i,350,posy,300,alto);
_root.createTextField("VERSION" + i,3*this.NUMVARS+i,480,posy,300,alto);
_root.createTextField("ALCANCE" + i,3*this.NUMVARS+i,480,posy,150,alto);
_root["ALCANCE"+i].text=this["ALCANCE"+i];
_root["ALCANCE"+i]._visible=false;
_root["CODIGO"+i].setTextFormat(formato);
_root["TITULO"+i].setTextFormat(formato);
_root["TIPO"