dot.speedDS = speedDS[i]; dot.onEnterFrame = function(){ this._x+=this.speedDS; }
dot.i = i; dot.onEnterFrame = function(){ this._x+=speedDS[this.i]; }