The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.39 / 5.00 38,635 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 15,161 ViewsI want to duplicate a MC twice. This is what i got:
I got a MC named human.
I got a button with this AS:
on (release) {
duplicateMovieClip("human", "human2", 1);
setProperty ("human2", _x, random(550));
setProperty ("human2", _y, random(400));
}
I can duplicate once but I want to duplicate twice. How should i do?
(The second time i press the button human2 dissappeares)
When Duplicating Movie Clips it isnt very easy For the simple fact that If u need to change one of them not meanin to change the other they both change Found this hard in most Of my projects ^_^ best thing u can do is to just make a new MC and just C/a/p the AS ^_^
change the 1 at the end of ur duplicatemoveiclip to _root.mcvar
on the maintimeline define mcvar to any number you want thats higher than 0.
then at the end of your code put _root.mcvar++ to put the other duplicated mc on a different layer.