ho caricato un testo esterno al mio file flash in questo modo :
prop = new TextFormat();
with (prop) {
font = "Verdana";
size = 10;
Color = "white";
//underline = true;
align = "center";
//bold = true;
}
ogg = new LoadVars();
ogg.load("http://mioindirizzo/testo.txt");
ogg.onLoad = function() {
_root.createTextField("testo1", 1, 125, 10, 300, 50);
with (testo1) {
text = this.argomento;
setTextFormat(prop);
}
};
funziona quasi tutto, il problema è che ignora totalmente Color = "white"; il testo riportato è sempre nero!!!! dove è l'errore??? grazie

Rispondi quotando