I have been trying to resize my swf width and height to the browser size for the past 10 days…this is what I was able to get so far
looked at numerous tutorials online…but no luck with my swf
I would like my images to fill the entire browser without the white background on the side and I would like to do it so that my images will not look distorted…
Can someone please take a look at my code and help me
Stage.scaleMode = "noScale";
Stage.align = "TL";
setStage();
var stageListener:Object = new Object();
Stage.addListener(stageListener);
stageListener.onResize = function() {
setStage();
};
function setStage()
{
var WIDTH:Number = Stage.width;
var HEIGHT:Number = Stage.height;
slide.width = Stage.width;
slide.height = Stage.height;
}