PDA

View Full Version : Publishing Problem



onecommoncode
April 27th, 2007, 11:37 PM
I just recently upgraded to CS3 and I love it. I have my folders set up like

deploy/index.html - for my html page
deploy/swf/main.swf - for my swf
deploy/xml/navigation.xml - for my xml

When I test my fla everything works correctly and there are no problems. When I publish everything shows up except for my navigation. I checked the paths and everything is correct because the swf works, since I am able to see everything else.

The only way my navigation shows up is when I put the swf in the same directory as the html page. But when I put it in another folder and change the paths only my navigation wont show up but everything else will.

Has anyone had a problem similiar to this?

joshchernoff
April 28th, 2007, 12:05 AM
I just recently upgraded to CS3 and I love it. I have my folders set up like

deploy/index.html - for my html page
deploy/swf/main.swf - for my swf
deploy/xml/navigation.xml - for my xml

When I test my fla everything works correctly and there are no problems. When I publish everything shows up except for my navigation. I checked the paths and everything is correct because the swf works, since I am able to see everything else.

The only way my navigation shows up is when I put the swf in the same directory as the html page. But when I put it in another folder and change the paths only my navigation wont show up but everything else will.

Has anyone had a problem similiar to this?

will your html point to the right dir in the emded tag?

onecommoncode
April 28th, 2007, 12:59 AM
I figured it out. Everything was pointing to the right spot except for my xml url. I did not realize that locally the xml file is relative to the swf. But once I put it online it becomes relative to the html file.

My path for my xml file was:
../xml/nav.xml

Once I put it online I need to change it to:
xml/nav.xml

This is all due to my folder structure.