I am trying to duplicate a MC on a keystroke command and then remove the duplicated clips with a separate keystroke but either none of the clips will go away or all but the first duplicate will remove.
to see it in action to witness what is going on go here... http://users.rcn.com/shawnsears/sulkow/idea.swf
here is the script

on (keyPress "+") {
i++;
duplicateMovieClip ("_root.dummy.morph", "morph"+i, i);
setProperty (_root.dummy["morph"+i], _x, random(500));
setProperty (_root.dummy["morph"+i], _y, random(400));
}
on (keyPress "c") {
morphColor = new Color ((_root.dummy));
morphTransform = morphColor.getTransform();
morphTransform.rb = Random(200);
norphTransform.gb = Random(200);
morphTransform.bb = Random(200);
morphColor.setTransform(morphTransform);
}
on (keyPress "-") {
i--;
removeMovieClip (_root.dummy["morph"+i]);
}



thanks
__________________
s3