<DIV>Subject: Re: [SWFObject] coding issue with swfobject newbie<BR><BR>Colin<BR><BR> Thanks for the help. I have changed the code but I am still <BR>receiving the message when you go to the site. I have checked ie and I do <BR>have flash 8 installed. The SWF file has the AScript in the first frame of <BR>DCmain.swf for express install and nothing else. What should be <BR>appearing is just like my other site <A href="http://www.dcconstructioninc.com/" target=_blank>http://www.dcconstructioninc.com</A><BR><BR> I am trying to accomplish two goals. Have the code send the user <BR>to dcconstructioninc.com/alt.html if he does not have flash 8 (if the <BR>express install does not work in someway) and obviously if the user has <BR>all the required plugins he'll go through the flash site. I've been <BR>going through 3 books and I've scanned the archive for anything close and <BR>I have had no luck. I will take all
abuse and will be a poster child <BR>for super noob as long as I can find a solution.<BR> Thanks once again for all the help<BR> Craig<BR>here's the code: <BR><BR><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <BR>"<A href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" target=_blank>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</A>"><BR><!-- saved from url=(0014)about:internet --><BR><html xmlns="<A href="http://www.w3.org/1999/xhtml" target=_blank>http://www.w3.org/1999/xhtml</A>" xml:lang="en" lang="en"><BR><head><BR><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><BR><title>dc construction</title><BR><BR><script
type="text/javascript" src="swfobject.js"></script><BR><style type="text/css"><BR><BR> /* hide from ie on mac \*/<BR> html {<BR> height: 100%;<BR> overflow: hidden;<BR> }<BR> <BR> #flashcontent {<BR> height: 100%;<BR> }<BR> /* end hide */<BR><BR> body {<BR> height: 100%;<BR> margin: 0;<BR> padding: 0;<BR> background-color: #990000;<BR> }<BR><BR></style><BR></head><BR><body><BR><BR> <div id="flashcontent"><BR> <strong>You need to upgrade your Flash Player</strong><BR> This is replaced by the Flash content. <BR> Place your alternate content here and users without the Flash plugin <BR>or with <BR> Javascript turned off will see this. Content here allows you to leave <BR>out <code>noscript</code> <BR> tags. Include a link to <a <BR>href="http:/dc.bayrocket.com/at.html">bypass the detection</a> if you wish.<BR> </div><BR> <BR> <script type="text/javascript"><BR> //
<![CDATA[<BR> <BR><BR> var so = new SWFObject"DCmain.swf", "dcmain", "802", "508", "8", <BR>"#990000", true);<BR> so.addParam("scale", "noscale");<BR> so.write("flashcontent");<BR> <BR> // ]]><BR> </script><BR> <BR></body><BR></html><BR><!-- text below generated by server. PLEASE REMOVE --><!-- <BR>Counter/Statistics data collection code --><script language="JavaScript" <BR>src="<A href="http://hostingprod.com/js_source/geov2.js" target=_blank>http://hostingprod.com/js_source/geov2.js</A>"></script><script <BR>language="javascript">geovisit();</script><noscript><img <BR>src="<A href="http://visit.webhosting.yahoo.com/visit.gif?us1149263874" target=_blank>http://visit.webhosting.yahoo.com/visit.gif?us1149263874</A>" <BR>alt="setstats" border="0" width="1" height="1"></noscript><BR><IMG SRC="<A href="http://geo.yahoo.com/serv?s=76001405&t=1149263874&f=p6w6"
target=_blank>http://geo.yahoo.com/serv?s=76001405&t=1149263874&f=p6w6</A>" <BR>ALT=1 WIDTH=1 HEIGHT=1><BR><BR><BR>On Friday, June 02, 2006, at 00:55AM, colin @ spikemedia <BR><<A href="http://b5.mail.yahoo.com/ym/bayrocket.com/Compose?To=colin.murdoch@spikemultimedia.co.uk&YY=32854&order=down&sort=date&pos=0&view=a&head=b">colin.murdoch@spikemultimedia.co.uk</A>> wrote:<BR><BR>><BR>><<Original Attached>>_______________________________________________<BR>>SWFObject mailing list<BR>><A href="http://b5.mail.yahoo.com/ym/bayrocket.com/Compose?To=SWFObject@lists.deconcept.com&YY=32854&order=down&sort=date&pos=0&view=a&head=b">SWFObject@lists.deconcept.com</A><BR>><A href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com" target=_blank><FONT color=#0000ff>http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</FONT></A><BR>><BR>><BR><BR><BR><<Original
Attached>><BR><!-- type = text --> <DIV class="messageinfo separator"> <div><STRONG>HTML Attachment</STRONG> [ <A href="http://b5.mail.yahoo.com/ym/bayrocket.com/ShowLetter/file.html?box=Inbox&MsgId=1634_32768_142_1871_4217_0_1_16661_1301072113&bodyPart=2&filename=file.html&download=1&YY=32854&order=down&sort=date&pos=0&view=a&head=b&Idx=0"><FONT face=Verdana>Download File</FONT></A> | <A href="http://b5.mail.yahoo.com/ym/bayrocket.com/ShowLetter/file.html?box=Inbox&MsgId=1634_32768_142_1871_4217_0_1_16661_1301072113&bodyPart=2&DataName=&filename=file.html&Briefcase=1&tnef=&YY=32854&order=down&sort=date&pos=0&view=a&head=b&Idx=0"><FONT face=Verdana>Save to Yahoo! Briefcase</FONT></A> ] </div></DIV><XMETA content="Microsoft Word 11 (filtered medium)" name="Generator"> <STYLE> #message v\:* {behavior:url(#default#VML);} #message o\:* {behavior:url(#default#VML);} #message
w\:* {behavior:url(#default#VML);} #message .shape {behavior:url(#default#VML);} </STYLE> <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:SmartTagType name="PersonName" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType> <STYLE> #message st1\:*{behavior:url(#default#ieooui) } </STYLE> <STYLE> <!-- #message /* Font Definitions */ _font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} #message /* Style Definitions */ p.MsoNormal, #message li.MsoNormal, #message div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} #message a:link, #message span.MsoHyperlink {color:blue; text-decoration:underline;} #message a:visited, #message span.MsoHyperlinkFollowed {color:blue; text-decoration:underline;} #message p {mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; font-size:12.0pt; font-family:"Times New Roman";}
#message span.EmailStyle18 {mso-style-type:personal-reply; font-family:Arial; color:navy;} #message p.style1, #message li.style1, #message div.style1 {mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; font-size:9.0pt; font-family:Arial;} #message _page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} #message div.Section1 {page:Section1;} --> </STYLE> <XBODY lang=EN-US vlink="blue" link="blue"> <DIV class=Section1> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Craig,<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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),<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><B><FONT face=Arial color=navy><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></B></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Why is the other div there and empty – code should be amended as follows:<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <div id="flashcontent"><o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial
color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <strong>You need to upgrade your Flash Player</strong><o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> This is replaced by the Flash content. <o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> Place your alternate content here and users without the Flash plugin or with
<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> _Javascript turned off will see this. Content here allows you to leave out <code>noscript</code> <o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> 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.<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY:
Arial"> </div><o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <CURSIVE type='"text/_javascript"><o:p'></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> // <![CDATA[<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY:
Arial"> <o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> var so = new SWFObject("DCmain.swf", "dcmain", "802", "508", "8", "#990000", true);<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> so.addParam("scale", "noscale");<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY:
Arial"> so.write("flashcontent");<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> // ]]><o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">
</script><o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hope this helps ..<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Colin<o:p></o:p></SPAN></FONT></div> <DIV> <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <HR tabIndex=-1 align=center
width="100%" SIZE=2> </SPAN></FONT></DIV> <div class=MsoNormal><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> swfobject-bounces@lists.deconcept.com [mailto:swfobject-bounces@lists.deconcept.com] <B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>craig lauderdale<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> 02 June 2006 01:02<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:PersonName w:st="on">swfobject@lists.deconcept.com</st1:PersonName><BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> [SWFObject] coding issue with swfobject newbie</SPAN></FONT><o:p></o:p></div></DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></div> <DIV> <div
class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello all,</SPAN></FONT><o:p></o:p></div></DIV> <DIV> <div class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Sorry to be a pain. I cannot get this site to work with swfobject. <A title=http://dc.bayrocket.com/ href="http://dc.bayrocket.com/" target=_blank><FONT color=#0000ff>http://dc.bayrocket.com/</FONT></A></SPAN></FONT><o:p></o:p></div></DIV> <DIV> <div class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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.</SPAN></FONT><o:p></o:p></div></DIV> <DIV> <div class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Could anyone look at the source code and see what I could possibly be doing wrong.
</SPAN></FONT><o:p></o:p></div></DIV> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Thanks in advance for the help,</SPAN></FONT><o:p></o:p></div></DIV> <DIV> <div class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Craig</SPAN></FONT><o:p></o:p></div></DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></div></DIV></DIV>