flash q
Out of context: Reply #1
- Started
- Last post
- 3 Responses
- visualplane0
Add the following code to your main stage.
this.myListener = new Object();
this.myListener.onResize = function() {
repos();
};Stage.addListener(this.myListene...
Stage.align = "TL";
Stage.scaleMode = "noScale";
function repos() {
//bg is the instance name of a movieclip inside that will resizebg._height = Stage.height;
bg._width = Stage.width;
bg._x = 0;
bg._y = 0;//topbar is a loaded from a external swf with a movieclip inside with a instance name topbar
_level5.topbar._x = 0;
_level5.topbar._y = 0;
_level5.topbar._width = Stage.width;_level5.lowbar._x = 0;
_level5.lowbar._y = 587;
_level5.lowbar._width = Stage.width;
_level5.lowbar._height = Stage.height - 587_level4.gradient._x = 0;
_level4.gradient._y = 108;
_level4.gradient._width = Stage.width;_level4.text._x = 485;
_level4.text._y = 121.5;}
repos()function loadEverything() {
loadMovieNum("bars.swf",5);
loadMovieNum("nav.swf",4);
//these are external movies that will resize at different widths
repos()
}loadEverything()