Hi,
I have made a flash doc in fullscreen and can control X and Y from left and top (http://www.bremell.com/fullscreen/start.htm). The red square is set to always stay in middle of the window.
But how do I control bottom and right side of the document? For example see http://www.christianehaid.de/index2.html
This is the code I’m using:
//////////////////////////////////////////////////////////////////
// set the stage object
Stage.scaleMode = “noScale”;
Stage.align = “LT”;
//set the intial size of our movie clips when the movie first starts
window_mc._height = Stage.height;
window_mc._width = Stage.width;
window_mc._x = 0;
window_mc._y = 0;
mainContent._x = Stage.width/2;
mainContent._y = Stage.height/2;
//add the stage listener incase the user re-sizes the window
window_mc.onResize = function() {
this._width = Stage.width;
this._height = Stage.height;
this._x = 0;
this._y = 0;
};
Stage.addListener(window_mc);
mainContent.onResize = function() {
this._y = Stage.height/2;
this._x = Stage.width/2;
};
Stage.addListener(mainContent);
//////////////////////////////////////////////////////////////////
Regards,
Dinsdale