allora ho questo preload
codice:
preload = function (clip) {
car = clip.getBytesLoaded();
tot = clip.getBytesTotal();
perc = Math.round((car/tot)*100);
clip.createTextField("testo", 1, (this._width/2), (this._height/2), 200, 20);
clip.testo.wordWrap = true;
testoformat = new TextFormat();
testoformat.color = "0x123466";
testoformat.font = "Verdana";
clip.testo.text = "Caricamento..."+perc+"%";
testo.setTextFormat(testoformat); if (car == tot && tot>24) {
clearInterval(a);
clip.luminosita();
clip.testo.text = "";
}
};
1) non mi visualizza il font assegnato dallo script
2) clikkando sulle immagini se lo faccio velocemente impazisce e mi restituisce Nan
Soluzioni????