the only difference is that i’d like to use several different objects in my file…and not only one (ie. ball or whatever) - but different objects with different shapes, colors…circulating on the same “path”
You need to change the for loop in the load handler:
for (i=1;i<=nBalls*3;i++) {
this.attachMovie("expBall","mcBall"+i, i);
this["mcBall"+i].angle = i * Math.PI*2/nBalls;
}
Here, Helen Triolo (absolute respect to her :beam: ) always ataches the same clip, expBall. All you have to do is make a list of the clips you want to attach (their linkage names), in an array because it’s very practical to use in loops, and you’re off:
myClips=["doggy","mommy","PamXXX"];
for (i=1;i<=nBalls*3;i++) {
this.attachMovie(myClips[i-1],"mcBall"+i, i);
this["mcBall"+i].angle = i * Math.PI*2/nBalls;
}