Embedded Flash resize to browser window.
Posted on 2012-04-03
I have a Flash movie embedded into my homepage. On laptops the company logo cannot be seen because it falls below the bottom edge of the browser window.
I would like to solve this with one of two solutions:
Have a script written that detects the size of the browser window (and/or resolution) if the window is too small or the aspect ratio is too horizontal, a differently sized flash will appear in the browser window. Like a script which detects whether or the not viewer is on a mobile phone and then brings up the mobile version of the website.
An alternate solution, that I woud prefer, would be to set a parameter, such as browser window height, and to proportionately scale down the overall Flash size if the browser window height is below that number.
Right now the exact dimension of the SWF file is "1024 x 790" and I have it nested into a one-row, one-column table of the same dimensions.
Can anyone help?