Flash/Browser
- Started
- Last post
- 5 Responses
- Rooster
Hi,
Anyone know how to make a flashmovie fill the browser, like a bg image and then load movies in different levels on top that doesn´t scale? That keeps their original with n height...Or any other trick to get the same result...
Thanks...
- Elfangio0
In the html tag give the width and the height 100%
Dont forget to put also margin="0" in the body
Hasta
- Elfangio0
Nevermind, today I am a little slow here :D
- unfittoprint0
make your swf 100% [width+height]
include the following cod in your CSS styles tag [html head]:
body,html {
margin:0px;
padding:0px;
height:100%;
}the within you main movie's write this AS:
Stage.align = "T";
Stage.scaleMode = "noScale";
resizeListener = new Object();
resizeListener.onResize = function () {
trace("New width: " + Stage.width);
};
Stage.addListener(resizeListener...
- Rooster0
I pasted your AS for my "level" movie in the second frame. Did get an error in the output when I published...the movie I loaded from my 100% movie did scale as well....
Thank you v much anyway...
Cheers
- unfittoprint0
ok. check moock's original procedure [and don't forget to include the style tags in the html, otherwise it will not work in some browsers, like firefox]:
http://www.moock.org/asdg/techno…