Ciao...

lunghezza = durate[songList_lb.getSelectedIndex()];
myTunes = new Sound();
myTunes.loadSound(_root.theSong, true);
myTunes.setVolume(0);
_root.valore = Math.round((1-(lunghezza/3000)*bps)*100);

Perchè se lunghezza con un trace è uguale a 246(valore contenuto in un array popolato da xml), quindi un numero...

ma se usata nella formula il trace di _root.valore mi restituisce NaN??



Thanks...