[SWFObject] Replacements for ../ and BASE attribute?
    Dan Bohea 
    dan at timetravelmedia.com
       
    Mon May 15 14:56:54 PDT 2006
    
    
  
Hi List.  Thank you so much for all your hard work.  You're saving my ass.
 
I'm fairly new to a lot of this kind of stuff so be gentle..
 
I have the swfObject working on a basic level but cannot figure out how to
get round the following 2 problems:
 
Problem 1:
 
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:
 
var so = new SWFObject("../flash_file.swf", "mymovie", "200", "100", "7",
"#336699");
so.write("flashcontent");
 
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.
 
 
 
Problem 2:
 
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: 
 
http://www.adobe.com/cfusion/knowledgebase/index.cfm?event=view
<http://www.adobe.com/cfusion/knowledgebase/index.cfm?event=view&id=KC.tn_04
157&extid=tn_04157&dialogID=29269559&iterationID=1&sessionID=9630dc11c536616
17c69&stateID=0+0+29277289&mode=simple>
&id=KC.tn_04157&extid=tn_04157&dialogID=29269559&iterationID=1&sessionID=963
0dc11c53661617c69&stateID=0+0+29277289&mode=simple
 
 
Any ideas?
 
 
Regards,
 
 
Dan.
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060515/9b24cabc/attachment-0004.htm>
    
    
More information about the Swfobject
mailing list