# Fmx error

**URL:** <https://forum.kirupa.com/t/fmx-error/93884>\
**Category:** Uncategorized\
**Created:** [November 6, 2003, 12:01am UTC](https://forum.kirupa.com/t/fmx-error/93884 "2003-11-06T00:01:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aquaman](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@aquaman](https://forum.kirupa.com/u/aquaman)\
**Post date:** [November 6, 2003, 12:01am UTC](https://forum.kirupa.com/t/fmx-error/93884/1 "2003-11-06T00:01:20Z")

</div>

can someone please tell me what i´m making wrong:

```auto
for (i=1; i<=8; i++) {
	attachMovie("mc", "m"+i, i);
	_root["m"+i]._x = 10;
	_root["m"+i]._y = 10+yPos;
	yPos += 70;
	_root["m"+i]._width = 50;
	_root["m"+i]._height = 50;
	_root["m"+i].preload("images/m"+i+".jpg", 40, 50, 50);
	//loadimages
	_root["m"+i].onPress = function() {
		loadMovie(this._name+".jpg", _root.content_mc);
	};
}

```

//i´m using this to attach an mc 8 timesto preload some images to it, but the press event dosen´t work. have I wroted a mistake, I can´t figure it out (preload is a proto) and he works fine, the error only occurs when i click each image, he says he dosen´t find the image

thanks
