# External Graphic Resizing

**URL:** https://forum.kirupa.com/t/external-graphic-resizing/108133
**Category:** Uncategorized
**Created:** [April 21, 2004, 9:43pm UTC](https://forum.kirupa.com/t/external-graphic-resizing/108133 "2004-04-21T21:43:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jmumm](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@jmumm](https://forum.kirupa.com/u/jmumm)
#### Post date: [April 21, 2004, 9:43pm UTC](https://forum.kirupa.com/t/external-graphic-resizing/108133/1 "2004-04-21T21:43:51Z")

</div>

Here is my code. It displays the image fine, but it doesnt resize it correctly. Anybody know what the problem could be?

```auto

for (k=0; k<files.length; k++) {
	file_mc.duplicateMovieClip("file"+k+"_mc", k+100);
	row = Math.floor(k/3);
	column = (k+1)-(3*row);
	_root["file"+k+"_mc"]._y = (row*125)+25;
	_root["file"+k+"_mc"]._x = (column*125)+50;
	_root["file"+k+"_mc"].file_txt.text = files[k];
	_root["file"+k+"_mc"].picture_mc.loadMovie("http://www.jmumm.net/heather/pictures/"+files[k]);
	_root["file"+k+"_mc"].picture_mc._width = 100;
	_root["file"+k+"_mc"].picture_mc._height = 100;
		}

```
