Hello,
The code is about when re-sizing the stage a movieclip (menuMC) on stage will be re-sized as well.
This movieclip (menuMC) works as a container for set of button components. Inside the menuMC there are 3 frames, on each frame there are 3 button components.
The problem is that when the parent movieclip (menuMC) is re-sized, the buttons are also re-sized.
How that can be prevented? All the buttons which are locacted on different frames inside the menuMC.
PHP Code:
Stage.scaleMode = "noScale";
var stageListener:Object = new Object();
stageListener.onResize = function() {
Stage.align = "TL";
_root.menuMC._x = 3;
_root.menuMC._width = Stage.width-2;
};
//
Stage.addListener(stageListener);
Thanks for any tips!