Reputation: 1
As the site will be totally in flash, there is no use of JavaScript required. So, what is the best way to embed a SWF file into a web page without using JavaScript. And why do you consider it to be the best one?
Upvotes: 0
Views: 681
Reputation: 12450
I would assume that the embedding code used by SWFObject is tested to be working on as many browsers as possible. Just skip the steps with javascript.
Upvotes: 0
Reputation: 46796
Another example here: http://knowhow.dgx.cz/embedding-flash/ Contains hacks for crappy IE.
Upvotes: 0
Reputation: 1135
You can use the Satay Method:
<!--[if IE]>
<object
type="application/x-shockwave-flash"
data="movie.swf"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
width="200"
height="400">
<param name="wmode" value="opaque" />
<param name="movie" value="movie.swf" />
</object><![endif]--><!--[if !IE]><!-->
<object
type="application/x-shockwave-flash"
data="movie.swf"
width="200"
height="400">
<param name="wmode" value="opaque" />
<param name="movie" value="movie.swf" />
</object><!--<![endif]-->
Upvotes: 2