Sui pulsanti:
on (release) {
_root.j = _name.substring(2, 3);
_root.stato = this._x>=_root['x'+_root.j]+600 ? 1 : 0;
}
substring(2,3)tu mi hai detto recupera il numero del valore di i
perchè(2,3)e non (3,4)
+600 ? 1:0
si può scrivere anche +600 == 1:0
_root.j=è una variabile che lui ha creato
ciao
![]()