Hi.

I was attempting to create a small animation where meteors are created at a random x position and go down the screen but Flash can't seem to handle the code i used. Is this incredibly intensive code? I didn't think so.

PHP Code:
onClipEvent(load) {
    
init = {_x:Math.random()*550};
    for(
i=0;i<549;i++) {
        
this.duplicateMovieClip("rock"+i,i,init);
            for(
i=0;i<399;i++) {
            
_root["rock"+i]._y i;
            }
    }

Am i doing something wrong?

Thanks