I die: duplicateMovieClip() w/ children

Hi,

I have yet another “I die-problem”, not so drastic this time, though. I’ve only tried to solve it for two hours or so, but still… :ogre: argh, it’s killing me :evil2: Well, as usual, I end up here, at the Kirupa forums… and of course, l end up emptying the coffe-machine at work… runs for more espresso :run:

Now;
It’s an issue regarding the duplicateMovieClip function. I know how it works, and I know how to duplicate MovieClips using the function, however, I do have an issue figuring this out: Now, explained roughly:

I have a MovieClip which contains yet another MovieClip. I want to duplicate both the MovieClip and it’s child, but I want it to stay inside the parent MovieClip, just as the original MovieClip contained the original child… (but both of these are duplicates, of course…)

myMovieClip -> myMovieClipChild

duplicates to:

myMovieClip0 -> myMovieClipChild0
myMovieClip1 -> myMovieClipChild1

and so on…

In case you don’t have it next-door, the code for duplicating a movieclip can be found here… (kirupa.com)

I just can’t figure this out. If anyone can help, in any way, I’d appreciate aLOT (as always :D)…

Now, how?

Hurry!, before them :ogre:'s gets me! :smiley:

Thanks for your help, :thumb2:
Peter