i have this code on a button, to duplicate my marines in a real time strategy setting…
[LEFT]onClipEvent (load) {
marineCount = 1;
}
on (release) {
_root.map.attachMovie("marine", "marine"+marineCount, this.getNextHighestDepth());
marineCount += 1;
}
[/LEFT]
[LEFT]
[/LEFT]
is there a reason it reattaches the same mc instead of creating a new one? do i have to use duplicateMovieClip?
fla included, thanks