# Duplicating mcs into other mcs

**URL:** <https://forum.kirupa.com/t/duplicating-mcs-into-other-mcs/46437>\
**Category:** Uncategorized\
**Created:** [March 24, 2004, 4:25pm UTC](https://forum.kirupa.com/t/duplicating-mcs-into-other-mcs/46437 "2004-03-24T16:25:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flamedude](https://avatars.discourse-cdn.com/v4/letter/f/7cd45c/32.png) [@flamedude](https://forum.kirupa.com/u/flamedude)\
**Post date:** [March 24, 2004, 4:25pm UTC](https://forum.kirupa.com/t/duplicating-mcs-into-other-mcs/46437/1 "2004-03-24T16:25:07Z")

</div>

Hi,

I need to duplicate an mc but have it duplicate inside another mc, this is so i can scroll a list of dynamically created mcs. What do i need to change to the duplicateMovieClip code?

this is the original duplicate code that i used, it works absolutely fine but i need it to be embedded in another mc so i can use my scrollbar plug-in;

\_root.basketcounter++;  
duplicateMovieClip(\_root.list\_textfield, “list\_textfield”+\_root.basketcounter, \_root.basketcounter);

And i want this list\_textfield mc to be duplicated within the holder mc list\_holder which will be at the root of the movie with list\_textfield held inside it.

I tried this and changed the code but it didnt work, some help would be appreciated!! i tried this, to no luck;

\_root.basketcounter++;  
duplicateMovieClip(\_root.list\_holder.list\_textfield, “list\_textfield”+\_root.basketcounter, \_root.basketcounter);

its a git.

Steven.

Cheers.

Steven.
