I just woke up, dressed up, and was ready to go to my girlfriend when i released i want to try tu duplicate a movieclip so i spend a few minutes but i got “Script is running too slow” warning message.
Here is my fewminutes code. “rutul” is an instance name of my object(oval) and this code
i’ve written into it, and i don’t see any errors, in the fact when i wait a few minutes i get a flash player window with 3 balls as i want, but IT’S HORRIBLY slow. Have i missed something? :?
onClipEvent(load) {
var cnt1, cnt2:Number=0;
for (cnt1=1; cnt1<=3;cnt1++) {
this.duplicateMovieClip("rutul"+cnt1,cnt1);
_root["rutul"+cnt1]._x=cnt1*10;
_root["rutul"+cnt1]._y=cnt1*10;
}
}
I’ve some code in my mind, if i duplicate a movie clip, DOES event the code duplicate? I mean if this code is written for some object, and i then copy that object, this code will be copied? because this is the only sollution i can figure out