Without a link to the actual page on-line, it's pretty hard for us to diagnose..... so please post a link.
Could be a pathing problem or embed code problem... but need to see the page to tell.
What does that mean? According to Dreamweaver the file has been uploaded. Have I put the file in the wrong folder somehow? It is in the same folder as the swf-file.
1 person found this helpful
Apparently the SWF file you are using contains a reference to that file, and it is expecting to find that file in the root folder.
Also, you have this -
<param name="movie" value="scroller ny/forsiden/source/forside_Scene 1.swf" />
It's just a bad idea to have spaces in your file/pathnames - servers will sometimes think that the name has ended when it encounters that space.
Ok, now I replaced the "forside_Scene 1.swf" with a new file: "forside.swf". I also tried moving the data.xml from my "scroller"-folder and into no folder ( just right along with the html files in the site folder). When i double click the .swf, it only works when the data.xml is in the same folder, so I assume that they sould be in exactly that; the same folder. Anyway, now there's a data.xml-file both in it's original place (scroller folder) and in the site folder. Still not getting any better.
By the way, thank you for spending time helping me with this problem.
Hm.. If you don't know what to do, then I definitely don't know what to do... If it helps, could I zip the entire page, all the files, and send it to you? Or is that asking to much?
Let's see if anyone else can pick up where I left off. There are lots of heavy lifters around here....
Ok, thanks for helping.
please have a look to Murray's answer (3 and 5) esp. about "This file is not found on the server - data.xml".
I tried to open your swf-file in my Adobe Flash C4 and I got this: "XML load error: Unable to load/parse XML." Please control, whether you uploaded this data.xml to your server.
Most likely a combination of pathing errors, including the path from the .swf to the .xml file.
But if the path from swf to xml is correct then path inside xml to thumbs is wrong
data.xml is here:
downloads with html page so I assume it's being called by swf file
but relative to that address
(from xml file):
<item image="thumbs/1.png" label="Solgt" data="www.google.com" />
returns file not found (for the thumb),
but this address finds the file:
so from the xml file in the root, you have to go down through the "scroller" folder then the "thumbs" folder.
There may also be other pathing errors but start by adding the "scroller" folder to the path to the thumbs.
Best of luck,
It's especially curious though that browsing directly to the SWF file plays it just fine, don't you think?
Ah yes... but it looks like there is also an xml file here (same folder as the .swf):
so relative to the folder that the swf file is in, the path to the thumbs is correct. So thumbs display just fine. But as you know (I've seen your other posts), once the swf is placed on an html page, paths to Flash assets become relative to the html page, not the physical location of the .swf.
So for anyone interested... for review:
Almost always when it works on the local machine and not the server, it's a pathing problem.
You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location. So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
Eye for Video
Yes! It worked! You are brilliant, I love you!