I have one problem, i am not Sure how to define it to search for it on google, i'm sure that is a lot of answer on the internet, but i will try here...
How to stop resizeing my fullsrean swf movie when the size of the browser reach the original size of swf, after that if i resize browser to be smaller scroll will bi show up....
my AS2 code is [code] //start Stage re-size code Stage.align = "TL"; Stage.scaleMode = "noScale"; // ---> Create a new listener object var stageListener:Object = new Object(); // ---> Define the resize function... stageListener.onResize = function() { // ---> first, get the new dimensions of the stage.... var stageWidth:Number = Math.round(Stage.width); var stageHeight:Number = Math.round(Stage.height); trace("Stage size is now " + Stage.width + " by " + Stage.height); // ---> now, set the footer BG w & h to the stage dimensions... footerBG_mc._width = stageWidth; //footerBG_mc._height = stageHeight; footerBG_mc._x = 2; footerBG_mc._y = stageHeight-25; // ---> now, set the footer links to the stage dimensions... footerLinks_mc._x = (stageWidth/2) - (footerLinks_mc._width/2) ; footerLinks_mc._y = stageHeight-18; // ---> now, set the background clip alignment to match stage... wallPaper_mc._x = (stageWidth/2) - (wallPaper_mc._width/2); //wallPaper_mc._y = stageHeight/2;
// ---> now, size the outLine_mc to the stage dimensions... //outLine_mc._height = stageHeight-2; //outLine_mc._width = stageWidth; outLine_mc._x = (stageWidth/2) - (outLine_mc._width/2); //outLine_mc._y = (stageHeight/2) - (wallPaper_mc._height/2);
}; // ---> Apply the listener... Stage.addListener(stageListener); // ---> Run the function... stageListener.onResize();
//--------------------// Mouse.hide(); var followMe:Object= new Object() followMe.onMouseMove=function(){ newMouse._x=_xmouse; newMouse._y=_ymouse; } Mouse.addListener(followMe) [/code]