Request A Quote
Ready to get started? So are we! Tell us about your project and we'll get back to you with a quote!
Recently I was having a "character building moment" trying to get some flash embedded in a page. In my quest for an answer I came across this handy dandy bit of info AND a very helpful link to a SWFObject 2 HTML and JavaScript generator v1.2 I hope this helps you out as much as it did for me...
The info below is from Best Method of Embedding Flash
One of the most common issues with Flash is how to properly embed it into a website. While several methods are available, my preferred method is by using SWFObject. It will try to display Flash using the best method it can based on the browser ability and type. There are two versions, 1.5 and 2.0. 1.5 is a little bit simpler to use, but 2.0 is recommended for its extended abilities and will be explained here.
There are two methods which you can use. They are called Static or Dynamic. From SWFObject:
Quote:
1. The static publishing method embeds both Flash content and alternative content using standards compliant markup, and uses JavaScript to resolve the issues that markup alone cannot solve
2. The dynamic publishing method is based on marked up alternative content and uses JavaScript to replace this content with Flash content if the minimal Flash Player version is installed and enough JavaScript support is available (similar like previous versions of SWFObject and UFO)The advantages of the static publishing method are:
1. The actual authoring of standards compliant markup is promoted
2. The mechanism of embedding Flash content does not rely on a scripting language, so your Flash content can reach a significant bigger audience:
o If you have the Flash plug-in installed, but have JavaScript disabled or a use a browser that doesn't support JavaScript, you will still be able to see your Flash content
o Flash will now also run on a device like Sony PSP, which has very poor JavaScript support
o Automated tools like RSS readers are able to pick up Flash content
The advantages of the dynamic publishing method are:
1. It avoids click-to-activate mechanisms to activate active content in Internet Explorer 6/7 and Opera 9+. Please note that Microsoft is currently phasing out all active content from its Internet Explorer browsers [ http://www.swffix.org/devblog/?p=19 ]
2. It integrates very well with scripted applications