What affects XML in Flash?

I’ve read and followed the Flash XML Photogallery tutorial, but I cannot seem to get it right, and I have read various suggestions from people on the forum about how to solve it.

So here’s a summary of the few things I have read, and if anyone can answer them, that would be great.

  1. Do you have to place the FLA file in the same folder as your SWF and XML file on your server? If so, why?

  2. What XML encoding should be used? In Kirupa’s tutorial, the provided XML file (images.xml) has “utf-8” encoding, and by default when you create a new XML document in Dreamweaver it is “iso-8859-1.” (And I also read that Notepad’s encoding is “utf-16”). Does this matter? And which one is best?

  3. What version should I export the Flash movie to? I read on the forum that selecting an older version helped someone with their problem? Does the version number matter? Also, Actionscript 1.0, or 2.0?

  4. In the Flash movie, the code that says:
    xmlData.load(“images.xml”);

Does this have to be a relative link or an absolute link when it gets posted to the web? Or does it not matter?

  1. If I am able to view the Flash movie on my computer, but not after I upload it, does this mean that everything is correct on my part, but that the server is having issues with the XML?

  2. Is there some code that has to be placed on the HTML page that you are loading the SWF onto that lets it know that there is an XML file that needs to be read, or is this all contained within the SWF?

  3. Also, I noticed in his code, the flash movie has this parameter attached to it:
    <param name=“allowScriptAccess” value=“sameDomain” />
    What is this, and could it be preventing my XML to not work properly if I do not have this parameter?

I think for now, that should do. Thanks all!

The link to my non-working :td: photogallery is here:
http://www.dirdim.com/indus_artarchitecture.htm