PDA

View Full Version : Dreamweaver cource file help!



Frogman3
13 Dec 2007, 10:49 AM
I'm using SWFobject to display a nav bar on all my pages.
I have a sub folder as such:
-Site
...-Folder1
......-page1.html
......-page 2.html
...-Images (default images folder)
......-flash nav bar
...-index.html
...-otherpage.html


On my index.html, w/o SWFobject, you just insert flash movie tag and then I can drage that little crosshair cursor to where th file is, and it enters in 'Images/flash nav bar' for me. Right?

Well on 'Folder1/Page1.html' I do it, and the file comes up as ../Images/flash nav bar', and it works.

However, when I use SWFobject, I have to go into teh code and enter in the path by hand. WHen it comes to the sub-folder (like page 1.html) I can't use '../Images/flashnavbar' anymore. What would be the correct way to enter in the path name?

Currently it shows:
<script type="text/javascript">
var so = new SWFObject("../Images/flashnavbar.swf", "Our Services", "200", "720", "8", "#FFFFFF");
so.write("Side");
</script>

When I test it, no flash movie!

Thx for nay help you can give me!