Hi all,
I’m making a flash site that loads in movieclips from the library, but I have it so the stage/container resizes depending on the users resolution. However, now because of the different resolutions I need the movieclips that I am loading into my container to resize as well. (The original container is created by AS).
I have looked into _xscale and _width etc, but it’s not working. I am currnetly using a for loop to attach my movies
var numMcs:Number = 1;
for(i=0; i<=numMcs; i++)
{
container.attachMovie("img"+i+"_mc", "img"+i, 1);
var maxHeight:Number = 419;
var maxWidth:Number = 900;
if(img*._width != maxWidth)
{
img*._width = maxWidth;
img*._height = maxHeight;
}
}
I am more than likely going about this the wrong way, but any advice would be greatly appreciated!
Thank you!