Here are some examples: A SWF outside of a FORM (using SWFObject to embed) A SWF inside of a FORM (using SWFObject to embed) A SWF inside of a FORM (using std Flash EMBED tags) A SWF inside of a FORM (using SWFObject and SWFFormFix)
As you should see, SWFFormFix fixes the problem and leaves you with zero errors - plus it’s free!
Download SWFFormFix: http://devel.teratechnologies.net/swfformfix/swfformfix.js
Usage: 1. Include the swfformfix.js script in the head of your document
- Run the SWFFormFix(yourObject) command on your SWF.
Example with SWFObject (recommended):
Example with std Flash EMBED tags:
If you are still using the old school EMBED tags, you should really get with the program and start using SWFObject!! SWFObject (by Geoff Stearns) not only cleans up your code, but it removes the annoying gray box around your Flash movies in Internet Explorer 7 (or earlier with updates). I made a nice little script called HTML2SWFObject a couple months back that converts your old EMBED code to SWFObject code - check it out!