# duplicateMovieClip question.need some help

**URL:** https://forum.kirupa.com/t/duplicatemovieclip-question-need-some-help/129774
**Category:** Uncategorized
**Created:** [November 28, 2004, 9:47am UTC](https://forum.kirupa.com/t/duplicatemovieclip-question-need-some-help/129774 "2004-11-28T09:47:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![murka390](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@murka390](https://forum.kirupa.com/u/murka390)
#### Post date: [November 28, 2004, 9:47am UTC](https://forum.kirupa.com/t/duplicatemovieclip-question-need-some-help/129774/1 "2004-11-28T09:47:33Z")

</div>

i have this script on a button:

```auto
on (release) {
	kast0.duplicateMovieClip("kast"+(num+1), 0);
	this["kast"+(num+1)]._x = kast0._x+((num+1)*15);
	this["kast"+(num+1)]._y = kast0._y;
	num++;
}

```

and this in frame one:

num = 0;

“kast0” is a MC, that i want to duplicate(with every click), so there would be many of those in a row. but that script “ereases” the “kast1” if it creates “kast2”  
currently i have my fla with only one frame and there is no other actions.

i have my fla here to: [myFLA](http://www.hot.ee/murka/Untitled-2.fla)
