bahrami
02-19-2007, 12:28 PM
Hello Everybody!
I'm having problems with duplicate MC
for (x=0; x<10; x++) {
duplicateMovieClip ("_root.boll", "dupMC"+x, x);
_root["dupMC"+x]._x = random (100);
_root["dupMC"+x]._y = random (100);
}
my_btn.onRelease = function () {
_root["dupMC"+x].gotoAndPlay(2)
};
I need that button to do something with my dplicated Mc.
I have noticed that I cant modify my duplicated mc outside the DuplicateMc funktion. Is there a way cross that.
I'm having problems with duplicate MC
for (x=0; x<10; x++) {
duplicateMovieClip ("_root.boll", "dupMC"+x, x);
_root["dupMC"+x]._x = random (100);
_root["dupMC"+x]._y = random (100);
}
my_btn.onRelease = function () {
_root["dupMC"+x].gotoAndPlay(2)
};
I need that button to do something with my dplicated Mc.
I have noticed that I cant modify my duplicated mc outside the DuplicateMc funktion. Is there a way cross that.