Hi.
I'm having some problems with the for loop. For some reason it's saying that the code is making the movie unresponsive but it only has to loop twice.:confused: Any ideas what's wrong with this?
onClipEvent(load) {
for(i=0;i<=1;i++) {
this.duplicateMovieClip("ground","ground"+i,i);
_root["ground"+i]._x = ground._x + ground._width;
}
}
onClipEvent(enterFrame) {
this._x -= 20;
}
Thanks
:);)