# Code problem, i guess... SOS!

**URL:** <https://forum.kirupa.com/t/code-problem-i-guess-sos/210403>\
**Category:** Uncategorized\
**Created:** [December 18, 2006, 3:26pm UTC](https://forum.kirupa.com/t/code-problem-i-guess-sos/210403 "2006-12-18T15:26:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leo75](https://avatars.discourse-cdn.com/v4/letter/l/779978/32.png) [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Post date:** [December 18, 2006, 3:26pm UTC](https://forum.kirupa.com/t/code-problem-i-guess-sos/210403/1 "2006-12-18T15:26:56Z")

</div>

Hi there… i am trying to duplicate a movie clip that is inside of another movie clip.  
BUT it doesnt work.  
the movie clip is mc\_b that is inside of mc\_allspots. I would like to duplicate the same movie clipt inside of the mc\_allspots movie clip…  
Any idea\>?

THANKS!  
Cheers.

Here is the code.

```auto

for (j=0;j < 85;j++) //alt
  {
    for(i=0;i < 90;i++) //base
    {
     duplicateMovieClip(mc_allspots.mc_b, "mc_allspots.mc_b_" + p, mc_allspots.getNextHighestDepth());
     mc_allspots["mc_b_" + p]._y = p_y;
     mc_allspots["mc_b_" + p]._x = p_x;
     //_root["mc_b_" + p]._alpha = 0;
     p_x=p_x+10;
     p++;
    }
    p_x = 32;
    p_y= p_y+10;
  }

```
