ma io dico...ma perchè solo a me non devono funzionare sti maledetti preload?
addirittura ho copiato e incollato il preload di flash-mx.html.it, ma niente mi da sempre questo errore:
**Errore** Scena=Scena 1, livello=action, fotogramma=1:Linea 4: Tipo non corrispondente.
perc = parseInt(car * 100 / tot);
Totale errori ActionScript: 1 Errori segnalati: 1
che cosa devo fare?
io nel primo fotogramma ho scritto:
car = _root.getBytesLoaded();
tot = _root.getBytesTotal();
larghezza = 118;
perc = parseInt(car * 100 / tot);
progres = perc + "%";
setProperty("barra", _xscale, perc * larghezza / 100);
setProperty("barra", _x, 79.500000);
if (car == tot)
{
gotoAndPlay(3);
} // end if
txt = String(car);
txt1 = String(tot);
if (txt.length == 5)
{
txtCar = txt.substring(0, 2);
}
else
{
txtCar = txt.substring(0, 1);
} // end if
txtTot = txt1.substring(0, 2);
nel secondo frame ho messo un:
gotoAndPlay(1);
ho fatto la barra i testi dinamici e tutto il resto...allora perchè non mi funziona?
ma anche quelli semplici mi da sempre quell'errore...che cos'è???????????????????????????????????