Search
 
 

 

How to fix the "Load Fail" problem?

How to fix the "Load Fail" problem?

If you use the advanced theme, and the "Load Fail" problem may occur.

The generated folder of flash slideshow make with advanced theme is a set of pages, images, resized photos and flash movies with XML configuration files in case of the flash galleries. All these files are located in the Output Folder that you can open it by choosing File>Open Output Directory or click Open Output Folder button after publishing the slideshow.



The files and sub-folders in the output folder look like:


The following are something you need to pay attention.

 

--You can only change the name of SWF, HTML and XML files. The name of other output files, such as res and thumbs, cannot be changed.
--The path of both SWF and XML file is relative to the path of your webpage HTML file.
-- Please bear in your mind the HTML file in the output folder is a sample of the webpage with SWF slideshow and it can be replaced by the HTML file of your own webpage.

 

Now, let's take a look at the code should be used for different file directory.
Let us call the output flash and xml as show.swf and show.xml. Normally, you can insert SWF to your webpage as follows:


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="768" height="576" id="tech" align="middle">
<param name="movie" value="show.swf?xml_path=path of your xml file" />
<param name="quality" value="high" />
<embed src="show.swf?xml_path=path of your xml file" quality="high" width="768" height="576" name="tech" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>.


Please pay attention to the code in bold. The code in yellow is the path of the SWF file and the code in blue in the path of the XML file. For different file directory, you just need to change the path of the code in bold

 

1. If you put SWF and XML in the same folder as the HTML file of your webpage, you can just copy all the subfolders in the folder to your site and then the code is as follows:



<param name="movie" value="show.swf?xml_path=show.xml" />
<param name="quality" value="high" />
<embed src="show.swf?xml_path=show.xml" />

 

2. If the SWF file is in the same folder as the HTML file but in upper folder than XML file, then the path is as follows:

 

<param name="movie" value="show.swf?xml_path=others/show.xml" />
<param name="quality" value="high" />
<embed src="show.swf?xml_path=others/show.xml" />


3. If the SWF is in lower folder than both HTML file and XML file, the path likes this:

 

<param name="movie" value="SWF/show.swf?xml_path=../show.xml" />
<param name="quality" value="high" />
<embed src="SWF/show.swf?xml_path=../show.xml" />


4. If SWF file and XML file are in different subfolders of HTML file, the path is as follows:

<param name="movie" value="SWF/show.swf?xml_path=others/show.xml" />
<param name="quality" value="high" />
<embed src="SWF/show.swf?xml_path=others/show.xml" />



5. You can also use the absolute URL for both the SWF and XML file.

<param name="movie" value="http://www.yourwebsite.com/somepath/show.swf?xml_path=http://www.yourwebsite.com/somepath/show.xml" />
<param name="quality" value="high" />
<embed src="http://www.yourwebsite.com/somepath/show.swf?xml_path=http://www.yourwebsite.com/somepath/show.xml" />


The key to fix this problem is to asign the flash variable xml_path a correct value.