<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">for #1, it should work just fine, it's probably just a path issue.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>you said that your swf is 2 folders down from your html page, but you only have one ../ there.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>maybe try ../../flash_file.swf ?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>for #2, you can use all of the same parameters that you normally would use, so if you want to use the base parameter, you can use it like this:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>so.addParam("base", "/");</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>(or whatever base path you need instead of the '/')</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On May 15, 2006, at 5:56 PM, Dan Bohea wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <DIV class="Section1"><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana">Hi List.  Thank you so much for all your hard work.  You’re saving my ass.<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana">I’m fairly new to a lot of this kind of stuff so be gentle….<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana">I have the swfObject working on a basic level but cannot figure out how to get round the following 2 problems:<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana">Problem 1:<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana">Some of my html pages are in a folder, 2 directories down from the swf file to be embedded.  Normally I would just insert the swf file location as “../flash_file.swf” as opposed to just “flash_file.swf”.  This doesn’t seem to work using swfObject.  For example, the following script doesn’t load my swf at all:<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P> <PRE><CODE><FONT size="2" face="Courier New"><SPAN style="font-size:10.0pt">var so = new SWFObject("../flash_file.swf", "mymovie", "200", "100", "7", "#336699");<O:P></O:P></SPAN></FONT></CODE></PRE><PRE><CODE><FONT size="2" face="Courier New"><SPAN style="font-size:10.0pt">so.write("flashcontent");<O:P></O:P></SPAN></FONT></CODE></PRE><PRE><CODE><FONT size="2" face="Courier New"><SPAN style="font-size:10.0pt"><O:P> </O:P></SPAN></FONT></CODE></PRE><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana">This problem also seems to stop swf files from being displayed when I publish from a Template in Dreamweaver.  This isn’t the end of the world, but sometimes I’d like to see how the swf sits in the page, even if it is only a Template.</SPAN></FONT><FONT face="Verdana"><SPAN style="font-family:Verdana"><O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana">Problem 2:<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana">Simliar to problem 1.  I have pages in folders that are 2 directories down from the swf file to be embedded.  This swf file acts as a navigaion bar for the website.  In order for the nav to work once it’s loaded in to one of the ‘buried in folders’ pages, I normally have to use the BASE attribute when the swf is inserted.  I got this tip from here: <O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><A href="http://www.adobe.com/cfusion/knowledgebase/index.cfm?event=view&id=KC.tn_04157&extid=tn_04157&dialogID=29269559&iterationID=1&sessionID=9630dc11c53661617c69&stateID=0+0+29277289&mode=simple" title="http://www.adobe.com/cfusion/knowledgebase/index.cfm?event=view&id=KC.tn_04157&extid=tn_04157&dialogID=29269559&iterationID=1&sessionID=9630dc11c53661617c69&stateID=0+0+29277289&mode=simple">http://www.adobe.com/cfusion/knowledgebase/index.cfm?event=view&id=KC.tn_04157&extid=tn_04157&dialogID=29269559&iterationID=1&sessionID=9630dc11c53661617c69&stateID=0+0+29277289&mode=simple</A><O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana">Any ideas?<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana">Regards,<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana">Dan.<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Verdana"><SPAN style="font-size:10.0pt; font-family:Verdana"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"><O:P> </O:P></SPAN></FONT></P> </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">SWFObject mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>