Salve a tutti, chiedo un consigli/aiuto per una as obsoleto, mi sono imbattuto su un .fla con un effetto molto accattivante, quello del riflesso d'acqua (Realtime Reflection), peccato che all'interno vi sia un as riamsto alla vecchia versione 1.0 player 6,
nella fattispecie l'errore di debug viene dato in questa riga
"2:flexb = Number(flex)+Number(tracerx);"
dello script seguente:

if (tracer eq 1) {
x1 = getProperty("tracer", _x);
} else {
x2 = getProperty("tracer", _x);
tracer = 1;
}
tracerx = x1-x2;
// ===first loop store all past coordinates of the slices
//
i = 2;
while (Number(i)<32) {
set(i add ":flexa", eval(i add ":flexb"));
i = Number(i)+1;
}
//
// ===setting of flex the variable that simulate a cyclic movement
//
flex = Number(Number(flex)+Number((speed*direction)))+Num ber(random(3));
if (Number(flex)<Number(-5)) {
direction = 1;
}
if (Number(flex)>5) {
direction = -1;
}
//
// ===the second loop uses the new value of flex and the previous stored datas
// ===the result is applied to the position of the slices
// questa riga quì sotto non è compresa in as 2.0
2:flexb = Number(flex)+Number(tracerx);

j = 3;
while (Number(j)<32) {
set(j add ":flexb", eval(j-1 add ":flexa"));
setProperty(j, _x, eval(j add ":x")+Eval(j add ":flexb"));
j = Number(j)+1;
}
x1 = x2;
qualcuno a un idea di come si possa aggiornare questo script?
P.s.
ecco il link in cui ho trovato il file:
http://downloads.flashkit.com/movies...rent_-2167.zip