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.

swffit

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.

2 Comments
  1. Reply dirk January 7, 2009 at 3:29 PM

    how crazy to incude a file called swfobject.js which totally something else as the real one

  2. Reply dirk January 7, 2009 at 3:33 PM

    Sorry, I was wrong I see there a complete new swfobject released

Leave a reply

Search