Phlasch MX question
Phlasch MX question
Out of context: Reply #5
- Started
- Last post
- 8 Responses
- __j0
this is better..
params = [100, 120, 140, 160, 180, 200, 220, 240, 260, 280];
speed = 8;
for (i=0; i<10; i++) {
_root.attachMovie("box", "box"+i, i);
_root["box"+i]._x = 0;
_root["box"+i]._y = params[i];
_root["box"+i].onEnterFrame = function() {
this._x += (400-this._x)/speed;
};
}