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:
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
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!