se formatti la casella di testo come html poi ad es potresti usare i tag html, il tag font con l'attributo color, x cambiare colore alle righe che preferisciOriginariamente inviato da punkamorfo
caricando del testo esterno, creato con wordPad, e utilizzando questo script:
var testo_load:LoadVars = new LoadVars();
testo_load.onData = function(src:String):Void {
if (src != indefined) {
testo.text = src;
} else {
testo.text = " Loading Error!";
}
};
testo_load.load("testi/testo1.txt");
è possibile tramite script cambiare colore ad alcune righe del testo?
cmq tutti i tag html supportati da flash
http://livedocs.adobe.com/flash/mx20...=00001040.html
![]()

Rispondi quotando