Tuesday, October 23rd, 2007

FitFlash: Make that rectangle move

Category: Flash, JavaScript, Library, Tip

You have seen the pain when you resize a browser and the Flash rectangle doesn’t move.

FitFlash is a smart script that resizes your flash automatically if your browser window size is smaller or greater than your flash minimum desired size keeping it accessible independent of screen resolution.

It is trivial to use, you just install the JavaScript and:


  1. FitFlash ("flash ID", minimum width, minimum height);

Posted by Dion Almaer at 5:04 am

3.7 rating from 34 votes


Comments feed TrackBack URI

Cool. This is one of those “I may need this idea, but not implementation” type things because if you use a JS library, it may already handle all of the browser discrepancies.

I’ve never tried, but from the source I assume that you can modify the embed’s attributes as it is apart of the dom.

Comment by EmEhRKay — October 23, 2007

Does this work with Deconcept’s SWFObject? Would be interesting to find out. We use SWFObject a lot..especially to get around the double click issue in IE for embedded content.

Comment by Nirav — October 23, 2007


per the FitFlash page:

“I recommend using it together SWFObject a very good way to embed your swf file..”

Comment by Scott M. — October 23, 2007

Leave a comment

You must be logged in to post a comment.