[SWFObject] coding issue with swfobject newbie
colin @ spikemedia
colin.murdoch at spikemultimedia.co.uk
Fri Jun 2 00:55:42 PDT 2006
Craig,
Both divs have the same id ("flashcontent"). This isn't allowed. Try giving
the divs different ids (make sure you remember to update the
so.write("flashcontent"); lines to reflect the new ids too),
Why is the other div there and empty – code should be amended as follows:
<div id="flashcontent">
<strong>You need to upgrade your Flash
Player</strong>
This is replaced by the Flash content.
Place your alternate content here and users without
the Flash plugin or with
Javascript turned off will see this. Content here
allows you to leave out <code>noscript</code>
tags. Include a link to <a
href="http:/dc.bayrocket.com/at.html">bypass the detection</a> if you wish.
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("DCmain.swf", "dcmain",
"802", "508", "8", "#990000", true);
so.addParam("scale", "noscale");
so.write("flashcontent");
// ]]>
</script>
Hope this helps ..
Colin
_____
From: swfobject-bounces at lists.deconcept.com
[mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of craig lauderdale
Sent: 02 June 2006 01:02
To: swfobject at lists.deconcept.com
Subject: [SWFObject] coding issue with swfobject newbie
Hello all,
Sorry to be a pain. I cannot get this site to work with swfobject.
HYPERLINK "http://dc.bayrocket.com/"http://dc.bayrocket.com/
I have the swfobject.js in the directory and I have setup the actionscipt in
the first frame of the 'DCmain' movie for express install.
Could anyone look at the source code and see what I could possibly be doing
wrong.
Thanks in advance for the help,
Craig
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.0/353 - Release Date: 31/05/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.0/353 - Release Date: 31/05/2006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060602/356e17b8/attachment-0005.htm>
More information about the Swfobject
mailing list