# Slideshow problem - showing images

**URL:** https://forum.kirupa.com/t/slideshow-problem-showing-images/266067
**Category:** Uncategorized
**Created:** [July 15, 2008, 10:45pm UTC](https://forum.kirupa.com/t/slideshow-problem-showing-images/266067 "2008-07-15T22:45:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Binji](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@Binji](https://forum.kirupa.com/u/Binji)
#### Post date: [July 15, 2008, 10:45pm UTC](https://forum.kirupa.com/t/slideshow-problem-showing-images/266067/1 "2008-07-15T22:45:20Z")

</div>

So i created a simple slideshow for a website. Its supposed to be made so that it loads images into an mc which are shown from top left corner out regardless of current size of the stage (i dont care if it simply cuts off larger images or shrinks them down).  
Thats why i put this code in startup:

```auto

	containers_mc._height = Stage.height;
	containers_mc._width = Stage.width;
	containers_mc._x = 0;
	containers_mc._y = 0;
	
	for(var container in containers_mc){
		containers_mc[container]._alpha = 0;
	}

```

containers\_mc is an MC containing two MCs in which images are loaded (for nice fading effect).

but it doesnt seem to to the trick… the images are all scattered around the stage. Here is an example:  
[http://www.kirupa.com/forum/attachment.php?attachmentid=47230&stc=1&d=1216161800](http://www.kirupa.com/forum/attachment.php?attachmentid=47230&stc=1&d=1216161800)

All the slideshows are the same, just different sizes (changed as i embed them). Background is added so you can see the problem.  
So what could be the problem? I only want images to have their top left corner on 0,0 coordinates and thats it.  
Thanks!
