# Create multiple empty movie clips

**URL:** <https://forum.kirupa.com/t/create-multiple-empty-movie-clips/268955>\
**Category:** Uncategorized\
**Created:** [August 20, 2008, 9:21pm UTC](https://forum.kirupa.com/t/create-multiple-empty-movie-clips/268955 "2008-08-20T21:21:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![billy\_nugz](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@billy\_nugz](https://forum.kirupa.com/u/billy_nugz)\
**Post date:** [August 20, 2008, 9:21pm UTC](https://forum.kirupa.com/t/create-multiple-empty-movie-clips/268955/1 "2008-08-20T21:21:54Z")

</div>

Ok so basically I have a button that will create a empty movie clip and attach some things into that clip When the button is first clicked. My problem is that when the button is clicked a second time. The clip will reload itself and I need it to duplicate. So if I hit the button 5 times, there would be 5 items on the stage.

Here is what I’m doing.

```auto
hold1.onPress = function(){
    trace("your hit me");
    _root.createEmptyMovieClip("conHolder",1);
    //conHolder.hitArea = conHolder.content;
    //_root.attachMovie(conButs,conBut,3)
    _root.conHolder.attachMovie("conButs", "conButs", _root.getNextHighestDepth()+1);
    //_root.conHolder._x = 100;
    //_root.conHolder._y = 100;
    _root.conHolder.startDrag();
    _root.conHolder._x += (_root._xmouse-10-this._x); 
  _root.conHolder._y += (_root._ymouse-10-this._y); 
  _root.conHolder.conButs.hold.loadMovie("icons/couch2Seat.swf",1);
    }

```

Thanks for any help.
