Flash question...
- Started
- Last post
- 3 Responses
- gabriel_pc
I'm building a photo viewer that automatically centers the photo and scales the background to match the users' browser dimensions. The problem I'm having is when the browser is scaled below the minimum set width (1000 px) and the scrollbars show up, when you scale, you only get white space. Example:
http://gabeshackle.com/upload/sl…
Anyway to force the flash movie to scale to 100% when the browser is larger than 1000 and stay at a fixed size when smaller?
thanks!
- unfittoprint0
on your Stage listener you could add a conditional like :
if(Stage.width >1000){
dothis();
}else{
dothat();
}
- JamesEngage0
just built a holding page at www.mrvisitor.com this uses some weird thing that measures your screen size...
Do a search here for full screen flash or something like that... I think there is a moock article with it all there
- gabriel_pc0
I have the stage listener doing that already, the problem is more with the way the browser treats the flash movie. I'm probably going to need a javascript/flash combo solution for it to work properly.