Code:
duplicateMovieClip("_root.clip", "clip"+_root.count, _root.count);
The red section is the level, higher numbers get placed higher on the stage. this can either be removed completely, or use a static number or getNextHighestDepth();
Another problem (and I apologize for my "shots in the dark" here but I haven't been in a Flash frame of mind for a couple weeks and I am getting rusty) is you are trying to duplicate a movie clip and your function does it when the clip enters the frame.
Since this is done on a button press, try changing the
Code:
onClipEvent (enterFrame) {
to
Code:
onClipEvent (load) {
Bookmarks