* This is a republish from my previous lab. The original publish date was Apr 7, 2010.
Introduction
In experimenting with SWFObject 2, I came across the question, how do I enable my flash content to display full browser? I found a few solutions but found the following solution to work best for me. The implementation is simple and effective.
Solution
The solution comes after viewing the source for the page found at http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test_dynamic_fullbrowserflash.html. An explanation isn’t made, but the result is present in viewing the page, I have in turn created an explanation.
- You must create a page using SWFObject, I used the AIR app Generator to streamline my HTML page build.
- Ensure you set the “Dimensions” to “Percentage” and set 100 as the value for both the width and height.
- Next you need to define some CSS (ideally in an external CSS file) and wrap your alternative content into another DIV tag. View the highlighted elements in the image below for visual reference.
