# About creating and duplicating MC with AS

**URL:** <https://forum.kirupa.com/t/about-creating-and-duplicating-mc-with-as/187798>\
**Category:** Uncategorized\
**Created:** [May 2, 2006, 1:18pm UTC](https://forum.kirupa.com/t/about-creating-and-duplicating-mc-with-as/187798 "2006-05-02T13:18:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [May 2, 2006, 1:18pm UTC](https://forum.kirupa.com/t/about-creating-and-duplicating-mc-with-as/187798/1 "2006-05-02T13:18:28Z")

</div>

I´m tring this AS to duplicate a MC on the main movie. This AS is on a loaded SWF. It´s not working but can´t find the reason.

```auto

duplicateMovieClip(_root.container, "container1", _root.getNextHighestDepth());
_root.container1.loadMovie("grupo01.swf");

```

Any help will be appreciated.  
thanks
