Sorry, I was away for a bit.
1. You are using swfobject.js version 2.1 - this is good
2. Your embed code is from swfobject 1.5 - this is not good
- Your alternative div id must match the title (mymovie) in your embed code, and it does not
- Your alternative content div is in your head - it must be in your body
This is the code you want to use:
--------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var so = new SWFObject("movie_arts3.swf", "mymovie", "400", "200", "8", "#336699");
so.write("flashcontent");
</script>
<script type="text/javascript">
var flashvars = {};
var params = {};
var attributes = {};
swfobject.embedSWF("movie_arts3.swf", "mymovie", "400", "200", "8.0.0", false, flashvars, params, attributes);
</script>
</head>
<body>
<div id="mymovie">
This text is replaced by the Flash movie.
</div>
</body>
</html>
---------------------------------
*********** REPLY SEPARATOR ***********
On 5/2/2009 at 6:00 AM whatobject wrote:
makes no difference if alternative content div is placed in the body
or not; same result
e