# Why doesnt this work?

**URL:** <https://forum.kirupa.com/t/why-doesnt-this-work/165610>\
**Category:** Uncategorized\
**Created:** [October 12, 2005, 3:14pm UTC](https://forum.kirupa.com/t/why-doesnt-this-work/165610 "2005-10-12T15:14:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grimshaw](https://avatars.discourse-cdn.com/v4/letter/g/439d5e/32.png) [@Grimshaw](https://forum.kirupa.com/u/Grimshaw)\
**Post date:** [October 12, 2005, 3:14pm UTC](https://forum.kirupa.com/t/why-doesnt-this-work/165610/1 "2005-10-12T15:14:27Z")

</div>

```auto

this.createEmptyMovieClip("img_mc", this.getNextHighestDepth());
img_mc.attachMovie("a", "a_mc");

function go() {
	for (i=0; i>=100; i++) {
		duplicateMovieClip(img_mc, "newImg_mc", this.getNextHighestDepth());
		newImg_mc._x = random(Stage.width);
		newImg_mc._y = random(Stage.height);
	}
}

go();

```

I have a mc in the library that is a black circle with a linkage identifier “a”
