OSFlash: swfresize
James Everhardt has just released swfresize on OSFlash.
According to the swfresize page on OSFlash, swfresize is "a small bit of JavaScript that helps a 'full-screen' Flash application be as large as possible and still maintain it’s aspect ratio, and keep everything within the viewable area of the browser."
Swfresize works with SWFObject and takes just two lines of code to implement. It keeps the aspect ratio of your SWF file and stops off-stage assets from appearing.
Basically, it sounds like a better alternative to setting your movie to have 100% width and height.
Although the link to the swfresize page on James's blog doesn't seem to be working at the moment, the download link for the swfresize.zip file does work.
See swfresize on OSFlash.
Comments
by Geoff on 2007-03-06 18:33:41
by Aran on 2007-03-07 00:34:12
by aral on 2007-03-07 06:12:35
by Savvas on 2007-03-07 08:07:17
by jimjay on 2007-03-07 14:33:39
by james.eberhardt on 2007-03-14 22:08:06
by aral on 2007-03-14 23:35:53