Hi all. I was wondering if it was possible to use the instance name of a duplicated movieclip in action script without having to code for every possible name of a duplicated movieclip. This is the code which duplicates the movieclips:
i = 0;
onEnterFrame = function () {
i++;
duplicateMovieClip(_root.circle, "circle_"+i, i);
};
Would it be possible to write something like:
if ("circle_"+i.hitTest(circle2)) {
actions;
}
Currently I have to put the code on the movie clip which is being duplicated. Thanks in advance.