PDA

View Full Version : Does anyone see anything wrong here?


Jodi
06-06-06, 05:53
Flash Object Embed with Frontpage
after using this script the flash still has that ugly bounding box around it, I can get the ebmed script to work in Dreamweaver (yay) but for some reason not in FrontPage, any takers, Please help!! Please Please Please
Here is the FrontPage Script (ick FrontPage)

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html40/loose.dtd">
<html><head><script type="text/javascript" src="flashobject.js"></script>
<title>introText</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<meta name="author" content="">
<meta name="generator" content="Microsoft FrontPage 5.0">
<meta name="description" content="introText">
<meta name="keywords" content="21st, advanced, affordable, appealing, century, custom, design, engine, forms, intothe, jump, logo, makeovers, mantinence, optimization, page, scripting, search, site, thats, then, today, want, web, with, your">
<!-- text used in the movie -->
<!-- 21st, advanced, affordable, appealing, century, custom, design, engine, forms, -->
<!-- intothe, jump, logo, makeovers, mantinence, optimization, page, scripting, -->
<!-- search, site, thats, then, today, want, web, with, your -->
<!-- Created by SWiSHmax - Flash Made Easy - www.swishzone.com -->
</head>
<body bgcolor="#FFFFFF">
<center>
&nbsp;<div id="flashcontent">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0"
id="introText" width="680" height="155">
<param name="movie" value="introText.swf">
<param name="bgcolor" value="#FFFFFF">
<param name="quality" value="high">
<param name="allowscriptaccess" value="samedomain">
<embed type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
width="680" height="155"
name="introText" src="introText.swf"
bgcolor="#FFFFFF" quality="high"
swLiveConnect="true" allowScriptAccess="samedomain"
></embed></object>
</div>
<script type="text/javascript">
var fo = new SWFObject("introText.swf", "introText", "680", "155", "6", "#FFFFFF");
fo.addVariable("variable", "varvalue");
fo.write("flashcontent");
</script>
</center>
</body>
</html>

Jodi
06-06-06, 07:28
Error message from within Frontpage reads 'SWFObject' is undefined

Thanks again everyone!

Jodi
06-06-06, 07:39
Got It

Hipster Doofus
06-06-06, 20:02
Well done. :D

chookers
03-22-07, 16:41
Know about this useful site?

http://validator.w3.org/

Go there, chuck your code in and get the results. Can also point it at a web page and ask it to check it. Really useful when you KNOW it should work but you forgot a closing tag... :o