me gustaría que se miraran este sencillo código y me dijeran donde está el error:
t = this.getBytesTotal()
l = this.getBytesLoaded()
p = l / t * 100
_root.PreloaderBar.gotoAndStop(Math.round(p / 10) + 1)
_root.PreLoaderBar.PercentL = String(int(p)) add %
El error devuelto es el siguiente:
**Error** Escena=Page 1, capa=Scripts6, fotograma=1:Línea 6: El operador 'add' debe ir seguido de un operando
_root.PreLoaderBar.PercentL = String(int(p)) add %
Total de errores de ActionScript: 1 Errores comunicados: 1
Gracias por vuestra ayuda!!
