![]()
![]()
ho avuto un problema simile ed ho risolto così
ovviamente nel richiamo al posto di puls ci metti il nome del clip che stai cliccandocodice:preload = function (clip, puls) { puls.enabled = false; 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.setTextFormat(testoformat); if(!isNaN(perc)) { clip.testo.text = "Caricamento..."+perc+"%"; clip.testo.setTextFormat(testoformat); } if (car == tot && car > 1024) { clearInterval(a); clip.luminosita(); clip.testo.text = ""; puls.enabled = true; } };

Rispondi quotando