Earlier this week i posted already two treads wich both did not help me any further itried a lot and searched over the internet for a solution but my problem is the next. I made a 100% x 100% flash site. Now i want to add a menu. But the menu has to be on the left of any screen. It has to appear out of the screen on the left and stay there 10 pixels from the edge of the users screen. No i tried the codes with Stage.align = “MT” and Stage.ScaleMode = “NoScale” But it does not giving the right result.
Does someone can help me? I got a main swf. in this swf files web.swf and menu.swf has to load. web.swf always centered in height and width.
The menu.swf needs to stay on the total left in the middle.
I 'm really working on my actionscript skills but after trying for more then a week i’m getting a bit desparate.
Thank you Bluenar but the problem with this code that it only works when i resize the browserscreen (i tested it on mac safari 2 mac and windows firefox 1.5 and windows IE 6
next to that i changed the Stage.align = “LT” with “CM” because the rest of the flashfiles/movieclips needs to be centered.
stageListener = new Object();
// Create a function for the event you want to listen for
stageListener.onResize = function ()
{
container._xscale = Stage.width *.10;
container._yscale = Stage.height *.15;
// Code for response to browser resizing here
}
// Assign a listener for the Stage object
Stage.addListener(stageListener);
[/AS]
In that case i think container is the leftmc.
but what meanse the code:
[AS]
container._xscale = Stage.width *.10;
container._yscale = Stage.height *.15;
[/AS]
??
And even whit this code how can i make sure the rest of the movie is centered? Is that even possible?