swffit: Smart Flash Resize Script
As every user has different screen resolutions & browsers can be resized to custom sizes, the browser won’t generate scrollbars at Flash movies with 100% sizes and possibly a part of the content may not be shown to the user.
swffit is a script that that resizes your flash movie automatically if your browser window size is smaller or greater than your flash minimum desired size to keep it accessible.
How to use it?
- Include swffit.js to your webpage
- Call the function:
swffit.fit("my_flash", 1000, 590);
- That’s all
swffit can also be controlled with an API including enabling/disabling it or adding functions when it is activated & more.
Compatibility: All Major Browsers