-
First time SWFObject User
I can't get SWFObject to work for the life of me. I'm ready to dump myself into a van down by the river. Help.
Here is my html, followed by a thought or two...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="swfobject.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Fixed Width CSS Layouts - 3 Column - fw-35-3-col</title>
<link rel="stylesheet" type="text/css" href="main.css" />
</head>
<body>
<!-- Begin Wrapper -->
<div id="wrapper">
<!-- Begin Header -->
<div id="header">
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("NavBarHome.swf", "NavBarHome", "982", "111", "9", "#003366");
so.write("flashcontent");
</script>
Arrrgghhh... I don't know if the problem is in the "NavBarHome" ID. I don't know how to officially set this. I am just using the file name in leiu of any more official sounding way. My FLA has several movie clips in it, so I'm not sure how I would set an overall parameter, if that is indeed the problem....
I've fllushed away hours- please help!!!
-
Is that ALL of your HTML? Because you are missing alot of your closing tags which may have something to do with it.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="swfobject.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Fixed Width CSS Layouts - 3 Column - fw-35-3-col</title>
<link rel="stylesheet" type="text/css" href="main.css" />
</head>
<body>
<!-- Begin Wrapper -->
<div id="wrapper">
<!-- Begin Header -->
<div id="header">
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("NavBarHome.swf", "NavBarHome", "982", "111", "9", "#003366");
so.write("flashcontent");
</script>
</div>
</div>
</body>
</html>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|