nadia
04-07-2003, 09:34 AM
I use the duplicateMovieclip to duplicate an mc so that I have 5 of them on the stage. On the original mc I put this code :
on (press) {
setProperty(this, _y, 130);
setProperty(this, _x, _root.moveX);
_root.moveX += 100;
}
I hope that when I click any of the duplicated MCs, they'll arrange themselves in the order of my click. It works fine until I put this code with that above :
onClipEvent (load) {
this.createTextField("teks", 1, 23, 0, 150, 300);
senarai = new Array("1", "2", "3", "4", "5");
teks.text = senarai[_root.indek];
_root.indek += 1;
look = new TextFormat();
look.bold = true;
look.size = 30;
look.font = "Arial";
teks.setTextFormat(look);
}
The problem is, one or more the duplicated MCs won't respond to mouse clicks anymore. Eee it's weird.
Thanks for reading up to this length. I hope u nice people will help me. Sorry for the trouble.
on (press) {
setProperty(this, _y, 130);
setProperty(this, _x, _root.moveX);
_root.moveX += 100;
}
I hope that when I click any of the duplicated MCs, they'll arrange themselves in the order of my click. It works fine until I put this code with that above :
onClipEvent (load) {
this.createTextField("teks", 1, 23, 0, 150, 300);
senarai = new Array("1", "2", "3", "4", "5");
teks.text = senarai[_root.indek];
_root.indek += 1;
look = new TextFormat();
look.bold = true;
look.size = 30;
look.font = "Arial";
teks.setTextFormat(look);
}
The problem is, one or more the duplicated MCs won't respond to mouse clicks anymore. Eee it's weird.
Thanks for reading up to this length. I hope u nice people will help me. Sorry for the trouble.