Dynamically resizing SWFObject to fit into a liquid or flexible layout
I have a website with a flexible layout, I guess you would call it jello, so it resizes depending on the size of the window and resolution, making it difficult to determine what to pass as width and height variables. I wanted it to fit well into its containing <div>.
I couldn’t believe that there wasn’t already a solution for this, so I made my own. This solution uses a bit of php, javascript, and of course, flash. Please keep in mind that I cannot guarantee the reliability and/or quality of this solution, all I know is that it works for me, with IIS and PHP 5 (also works with PHP 4). Read the rest of this entry »























