# \[FMX04\]duplicatemovieclip and path

**URL:** <https://forum.kirupa.com/t/fmx04-duplicatemovieclip-and-path/178869>\
**Category:** flash\
**Created:** [February 14, 2006, 10:30pm UTC](https://forum.kirupa.com/t/fmx04-duplicatemovieclip-and-path/178869 "2006-02-14T22:30:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![darth](https://avatars.discourse-cdn.com/v4/letter/d/71c47a/32.png) [@darth](https://forum.kirupa.com/u/darth)\
**Post date:** [February 14, 2006, 10:30pm UTC](https://forum.kirupa.com/t/fmx04-duplicatemovieclip-and-path/178869/1 "2006-02-14T22:30:10Z")

</div>

I have following lines inside a function

var u = clips.clip1.getDepth();  
clips.clip1.duplicateMovieClip(“clip1clone”, u-1);

the problem is that clip1clone is not generated. I think it has to do something with path, I have to add somehow a path to clip1clone?  
I tried 0 instead of u-1 but it didnt work so I guess the problem is with path?

Please help!
