[SWFObject] Subject: Re: coding issue with swfobject newbie
craig lauderdale
craiglauderdale at bayrocket.com
Fri Jun 2 10:01:56 PDT 2006
Subject: Re: [SWFObject] coding issue with swfobject newbie
Colin
Thanks for the help. I have changed the code but I am still
receiving the message when you go to the site. I have checked ie and I do
have flash 8 installed. The SWF file has the AScript in the first frame of
DCmain.swf for express install and nothing else. What should be
appearing is just like my other site http://www.dcconstructioninc.com
I am trying to accomplish two goals. Have the code send the user
to dcconstructioninc.com/alt.html if he does not have flash 8 (if the
express install does not work in someway) and obviously if the user has
all the required plugins he'll go through the flash site. I've been
going through 3 books and I've scanned the archive for anything close and
I have had no luck. I will take all abuse and will be a poster child
for super noob as long as I can find a solution.
Thanks once again for all the help
Craig
here's the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>dc construction</title>
<script type="text/javascript" src="swfobject.js"></script>
<style type="text/css">
/* hide from ie on mac \*/
html {
height: 100%;
overflow: hidden;
}
#flashcontent {
height: 100%;
}
/* end hide */
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #990000;
}
</style>
</head>
<body>
<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>
</body>
</html>
<!-- text below generated by server. PLEASE REMOVE --><!--
Counter/Statistics data collection code --><script language="JavaScript"
src="http://hostingprod.com/js_source/geov2.js"></script><script
language="javascript">geovisit();</script><noscript><img
src="http://visit.webhosting.yahoo.com/visit.gif?us1149263874"
alt="setstats" border="0" width="1" height="1"></noscript>
<IMG SRC="http://geo.yahoo.com/serv?s=76001405&t=1149263874&f=p6w6"
ALT=1 WIDTH=1 HEIGHT=1>
On Friday, June 02, 2006, at 00:55AM, colin @ spikemedia
<colin.murdoch at spikemultimedia.co.uk> wrote:
>
><<Original Attached>>_______________________________________________
>SWFObject mailing list
>SWFObject at lists.deconcept.com
>http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>
>
<<Original Attached>>
HTML Attachment [ Download File | Save to Yahoo! Briefcase ]
#message v\:* {behavior:url(#default#VML);} #message o\:* {behavior:url(#default#VML);} #message w\:* {behavior:url(#default#VML);} #message .shape {behavior:url(#default#VML);} #message st1\:*{behavior:url(#default#ieooui) } 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://mail.yahoo.com/config/login?/"http:/dc.bayrocket.com/at.html">bypass the detection</a> if you wish.
</div>
// <![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. 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060602/d55f9626/attachment-0004.htm>
More information about the Swfobject
mailing list