Rich Rodecker’s blog on flash, flex, actionscript, javascript, and php, with a dash of randomness
swffit – The smart swf resizer
I’m not sure where I came across this, but it’s very cool. If you embed your swf using 100% width and height, you won’t get scrollbars if your flash content is larger than the window. Enter swffit, with allows you to define a minimum width and height for your swf. If the browser window is less than your defined sizes, it will add scrollbars. If the browser window is bigger, it will fill the swf to 100% width and height. This means you don’t have to worry about things like browser size and monitor resolution when doing full browser flash (aesthetic issues aside). There’s a few other handy methods in the api to work with it, making it even more handy.
| Print article | This entry was posted by rich on January 21, 2009 at 9:30 am, and is filed under DOM/Javascript, flash. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
about 4 years ago
Thank you for blogging about this. I’ve been seriously worried about usability for the tiny laptop people.
about 4 years ago
Love swffit. I’ve been using it for the past couple months on just about all my projects.
about 4 years ago
I’ve used it for a few projects so far and it’s really cool.