sorry for posting soo many things, i’m really getting exited about this contest, so u’ll be seeing more of my entrys in the days to come
var espacio:TextField = _root.createTextField("texto_txt", this.getNextHighestDepth(), 0, 0, 300, 300);
//1
espacio.wordWrap = true;
//2
espacio.html = true;
//3
var nuevo:String = new String();
//4
var texto:String = new String("Power has never been this much fun
No computer on earth makes it as easy to work with digital photos, movies, music and the web as iMac. And now it all happens with blazing speed — powered by the revolutionary Intel Core Duo. With two processors built onto a single chip, this new Intel engine kicks iMac performance up to a whole new level. Coupled with the new ATI Radeon X1600 graphics processor and the world’s most advanced operating system, Mac OS X, iMac will run all your software, fast.");
//5
var tag_array:Array = [["i"], ["FONT ", "FACE='Courier' COLOR='#ff6030'"], ["b"]];
//6
tag_index = 0;
//7
onEnterFrame = function () {
nuevo += texto.substr(0, 1);
//8
texto = texto.substr(1);
//9
var primerTag:String = new String();
//10
var segunTag:String = new String();
//11
for (ind=0; ind<=tag_index; ind++) {
//12
primerTag += "<"+tag_array[ind][0];
//13
if (tag_array[ind][1] != undefined) {
//14
primerTag += tag_array[ind][1];
//15
}
primerTag += ">";
//16
segunTag += "</"+tag_array[ind][0]+">";
//17
}
espacio.htmlText = primerTag+nuevo+segunTag+texto;
//18
if (texto == "") {
//19
if (++tag_index == tag_array.length) {
//20
delete this.onEnterFrame;
//21
}
texto = nuevo;
//22
nuevo = "";
//23
}
};