prova a sostituire la tua parte di codice:
codice:
sfera.onEnterFrame = function() {
if (sfera._x<90) {
a++;
sfera.duplicateMovieClip('sfera'+a, a);
_root["sfera"+a].onEnterFrame = function() {
setProperty(this, _y, sfera._y);
if (this._alpha>10) {
this._alpha -= 10;
} else {
this.removeMovieClip();
}
};
sfera._x += 5;
}
//qui c'è il resto...
};
con questa:
codice:
this.onEnterFrame = function() {
if (this._x<90) {
a++;
var sf = this.duplicateMovieClip('sfera'+a, a);
sf.onEnterFrame = function() {
if (this._alpha>10) {
this._alpha -= 10;
} else {
this.removeMovieClip();
}
};
this._x += 5;
}
//qui c'è il resto...
};