Hello all,
I’m not sure this is the right forum so if it isn’t please forgive me and move this thread to the appropriate forum. I’m completely new to flash and actionscript and therefore I’m asking for your kind help. I’m using simpleviewer pro and I got it configure the way I want to except for one small issue.
I’m using really large images in my swf (1920x1150 pixels) in order to fill the entire screen. However, since the images are of a certain proportion and the screens and browser active area of others, the image will stretch only to the shortest dimension (this is native behavior of simpleviewer. It will scale the image to appear as large as possible without cropping or changing the aspect ratio).
If the browser is wide and narrow (width greater than height) the image will take 100% of browser’s height and on right side I’ll have margin. If the browser is narrow and tall (height greater than width) the image will take 100% of browser’s width and on bottom I’ll have margins.
What I’d like to have is to fill 100% of browser area at all times. I’d like the swf to scale (just as it does now on window resize) but if user is using some strange browser proportions, I’d like the image to crop around the bottom right corner for example. If it’s to problematic, than I’d like it to crop around all edges proportionally. You can see a working example of what I mean at www dot dudihasson dot com.
Thank you all in advance.
krko