Questions
Answer
Path issues with SWF files configured via XML
Generally, you must know that the path of the assets the SWF uses (the path of the images specified in the XML file and the path of the XML files themselves) must be relative to the path of the HTML file which embeds the SWF file (and not relative to the SWF file - a common confusion).

More conclusively:
If the folder path of the HTML differs from the product’s folder path (the folder in which the XML files and images folder are located) then you must specify that path through a variable called folderPath.
For example, in the swfobject embedding code, under this line:
var flashvars = {};
add this line:
flashvars.folderPath = "my_path";
and replace my_path with the path you need to follow to go from the location of the HTML file to the folder in which the assets are located. Alternatively you can specify an absolute path. Note that when you specify the folderPath, it must be terminated with a “/”.
If it is still unclear, please read this arbitrary example:
- the index.html file is located at this address on my domain:
http://www.mydomain.com/index.html
- the swfobject.js file is located at this address:
http://www.mydomain.com/js/swfobject.js
- the product's files (XMLs, assets and images folders) are located in this folder:
http://www.mydomain.com/mycomponent/
- the ComponentNameFX.swf file is located in the product's folder on my domain:
http://www.mydomain.com/mycomponent/ComponentNameFX.swf
In this case, the right embedding code in the index.html file using relative paths is:
<script type="text/javascript" src="mycomponent/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.folderPath = "mycomponent/";
var params = {};
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowScriptAccess = "always";
var attributes = {};
swfobject.embedSWF("mycomponent/ComponentNameFX.swf", "ComponentNameDiv", "600", "300", "9.0.0", false, flashvars, params, attributes);
</script>
So again, all the paths are relative to the path of the HTML file and note that the folderPath (if specified) should end with a slash (/). You can of course use any path you like for any type of file, but the references must be modified accordingly.
You can also use absolute paths, for example:
flashvars.folderPath = "http://www.mydomain.com/mycomponent/";
Comments
Do you have a question?
you will get an answer in 24 hours, tops.





Douglas Sheppard
Posted 2 months agoHello,
I downloaded and installed 3D Carousel. What a Wonderful App.
Configured settings.xml and working fine.
Configured images.xml and added more image tags for a total of 11 images but only 5 show on website.
Hi,
Please send to support [at] flashxml.net the link to your website or the component’s archive (with your images) and we will check it out.
mario
Posted 2 months agoHi, i tried using your banner rotator fx and it works great. The only problem is that it plays on the upper left side of a white box a. When i make the banner larger the white box follows. The bigger the banner, the bigger the white box. I wanted to try it to see if it suits my needs before i purchase and is not up on any web site yet. Is this problem because of the demo. I appreciate any help you can offer. Oh and it’s not up on a site Thanks
Hi,
Please send to support [at] flashxml.net the component’s archive, or some screenshot/videos, or try to publish your website on a free host, for test, so we can check where the problem is.
Nicholas Parnell
Posted 2 months agoI created my photo wall in a folder on a test html page http://randirahm.com/Photo-Wall/test.htm and know that Im happy with it I wish to move it http://randirahm.com/ but I can not figure out this path stuff.
I made the wall in a folder called Photo-wall which has all the folders in it.
Help!
Hi,
You have to specify the correct path for swfobject.js, folderPath and SWF like in the following example:
<script type="text/javascript" src="Photo-Wall/swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; flashvars.folderPath = "Photo-Wall/"; var params = {}; params.scale = "noscale"; params.salign = "tl"; params.wmode = "transparent"; params.allowScriptAccess = "always"; params.allowFullScreen = "true"; var attributes = {}; swfobject.embedSWF("Photo-Wall/PhotoWallFX.swf", "DivPhotoWallFX", "800", "700", "9.0.0", false, flashvars, params, attributes); </script>Markus
Posted 2 months agoHey,
I’ve got a problem with the 3d carousel I want to insert in a website. The only thing I see on my page, is the right and left arrow of the 3d carousel. The pictures won’t show up but I don’t know why. The images are in the correct folder as well as the settings.xml and images.xml.
swfobject.embedSWF("http://test.xxxx-xxx.com/fileadmin/user_uploads_Polytec-PT/Flash_Karussell2/3DCarouselMenuFX.swf", "CarouselDiv", "470", "400", "9.0.0", false, flashvars, params, attributes);I hope this is no problem because of the test-domain I have here.
Thanks for your help,
Markus
Hi,
Please send us a link to your website where you tried to install our product.
Sven
Posted 2 months agoHello,
I desparately ask for your support as I have spent too much time already without succes on solving this issue:
I’m using the Photo Flipper FX flash but the flash is not displaying the images at all but hangs in the loading phase.
The issue can be viewed here: http://www.wailando.de/shop/klassische-reitmode
Can you support, please?
Thanks and best regards, Sven
Hi,
The problem is that Dropbox adds a random ?UID number to all the XML files. I have also tried loading a component from Dropbox and it just won’t work. There is no way I see to remove the UID from the XML files.
Please use another filehosting site, or host the files directly on your domain. I recommend any free webhosting websites, like 000webhost.com or byethosting.com.