<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<STYLE>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
code
        {font-family:"Courier New";}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Verdana;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-GB vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=515520422-15052006><FONT face=Verdana 
color=#008000 size=2>As for Problem 1, having it in a different 
directory works fine for me... I normally start with / from the top 
directory to avoid referencing problems, like so</FONT></SPAN></DIV>
<DIV><SPAN class=515520422-15052006><FONT face=Verdana color=#008000 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=515520422-15052006><FONT face=Verdana color=#008000 size=2><PRE id=line32>  var fo = new SWFObject("/bin/pbmap/map/map.swf", "map", "600", "320", "8", "#ffffff");</PRE></FONT></SPAN></DIV>
<DIV><SPAN class=515520422-15052006><FONT face=Verdana color=#008000 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=515520422-15052006><FONT face=Verdana color=#008000 size=2>If 
your html page is 2 directories down from the swf, you might need 
"../../flash_file.swf", or try starting out with "/dir1/dir2/flash_file.swf" to 
see if that works. -Ricardo</FONT></SPAN></DIV>
<DIV><SPAN class=515520422-15052006><FONT face=Verdana color=#008000 
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> swfobject-bounces@lists.deconcept.com 
[mailto:swfobject-bounces@lists.deconcept.com] <B>On Behalf Of </B>Dan 
Bohea<BR><B>Sent:</B> Monday, May 15, 2006 4:57 PM<BR><B>To:</B> 
swfobject@lists.deconcept.com<BR><B>Subject:</B> [SWFObject] Replacements for 
../ and BASE attribute?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Problem 
1:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P><PRE><CODE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">var so = new SWFObject("../flash_file.swf", "mymovie", "200", "100", "7", "#336699");<o:p></o:p></SPAN></FONT></CODE></PRE><PRE><CODE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">so.write("flashcontent");<o:p></o:p></SPAN></FONT></CODE></PRE><PRE><CODE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></CODE></PRE>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Problem 
2:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><A 
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 
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">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 face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Any 
ideas?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Regards,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Dan.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV></BODY></HTML>