I have a game where you click a button and I want a movieclip to be duplicated in a certain area which is a movie clip named swamp_mc.
On the button I am writing:
on (press) {
i = i + 1;
duplicateMovieClip (_root.medowCar_mc, "medow" + i, i);
}
But on the actual movieclip at the moment it just randomizes the location like so and only allows one to be duplicated where I want every time it clicks the it produces another copy of the movieclip:
onClipEvent (load) {
this._x = random(822);
this._y = random(147);
}
Please help