vorrei far girare questo codice con flash player 7 (in 6 funziona):

codice:
if (c>101) c=1;
c+=.1;

cnt=numberpanels*c/10;

this.times.going.gotoAndStop(Math.floor(cnt/10));
this.times.going._alpha=100-(cnt%10)*10;
this.times.coming.gotoAndStop(Math.ceil(cnt/10));
this.times.coming._alpha = (cnt%10)*10;
c e cnt mi danno come valore NaN...