How to specify the correct path in the embedding code of the SWFs


Generally, you must know that the path of the assets the SWF uses (the path of the images or videos 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).

If the folder path of the HTML differs from the product’s folder path (the folder in which the XML files and images or videos are located) then you must specify that path as value for the base attribute.

This is an example for 3D Banner FX (replace the product's name if you're using a different one):

- the index.html file is located at this address on your domain:

- the swfobject.js file is located at this address:

- the product's files (XMLs, assets and images) are located in the Banner folder:

- the 3DBannerFX.swf file is located in the product's folder:

This is the embedding code you have to use:

<div id="Div3DBannerFX"></div>
<script type="text/javascript" src="Banner/swfobject.js"></script> //specify the folder's name here
<script type="text/javascript">
 var flashvars = {};
 var params = {};
 params.base = "Banner/"; //specify the folder's name here
 params.scale = "noscale";
 params.salign = "tl";
 params.wmode = "transparent";
 params.allowFullScreen = "true";
 params.allowScriptAccess = "always";
 swfobject.embedSWF("Banner/3DBannerFX.swf", "Div3DBannerFX", "600", "374", "9.0.0", false, flashvars, params); //specify the folder's name here

You can also use absolute paths like in this example:

params.base = "";

In case you used a different folder name don't forget to replace in all locations the Banner name with the name of your folder.

Note: there are three different locations in the embedding code where you have to specify the product's folder name so make sure you update all of them.



Posted 8 years ago


Before purchasing your superb banner navigator for our website, I wanted to tests it and show it around…
Unfortunately, we do have an issue which prevents me to make it work until now: as soon as we upload any file onto our webserver, the files get renamed and stored in a special directory which I guess is ok for images, swfobject.js and the flash navigator itself, but I assume your flash navigator expects the settings.xml file to be there and this is where the problem will be….Wouldn’t it be possible to have it be specified as a flashvar so that it can use any file from any location?

Thanks and best regards


FlashXML Support


The settings.xml can be specified in the embedding code of the component through flashvars like this:

var flashvars = {};

The path to the swfobject.js and SWF file can be indicated in the embedding code too:
<script type="text/javascript" src="swfobject.js"></script>

swfobject.embedSWF("ComponentNameFX.swf", "ComponentNameDiv", "600", "300", "9.0.0", false, flashvars, params, attributes);

The images.xml file are declared in the settings.xml on the following line:
<assets value="images.xml"/>
whereas the images are declared in the images.xml file; each image has its own row with the attributes already included in the default XML file.
We recommend you to keep all the files in the same directory because in this way you won’t complicate things.


Posted 8 years ago


thank you for the personal email , that you sent to me.

It does not matter that I did not buy products from you at this moment, but the full package from Flashtuning.
You are the, I am not ruling out to buy products from you, infact I am sure to do this in the future. But I will not buy from any Flash-XML-Tool-Company any product, as long as this problem is not solved.

This would help many of your customers (and me, hehe).
And for you would it be worldwide a very good advertising if you show the people to avoid this headache.

My question is still the same, but you choosed to ignore this question and still do not help in a propper way your customers with an example code that is complete. That means a index.htm-file that everybody of your customers can download, including the related files and subfolders.

So, go to work, it should easy for you, bring an example of a index.htm-page with some standardtext and between two modules from YOU with different flashfars.folderPath and make the whole world of Flash-XML-Tool-Buyers happy!

I am (and maaaaaaaaaaaany other people) wait for this!!!!!!!!!!!!!!!!!!!

nice greetings

FlashXML Support


We can only offer support for our products so tell us what exactly is the problem you’re having and which product of ours are you using.


Posted 8 years ago

Hi Flashtuning-Team,

what is wrong with you???

Why you make everything so difficult for the people and feed the people only with answers which doesn’t handle the whole problem, but only step by step answers?

Just show a example webpage with 2 different tools from you, both in different folders, for example NewsTickerXML and CarouselXML

Show a index.htm webpage where this two different tools from you work on the same page in different DIV.

You will automatically answer with this example the most questions. I can not understand why you feed us customers always little by little informations. And of course, you give only informations that are not clear for people who want to use their original XML webpage and include on some positions in this webpage your tools without changing too much.

I bought for 59 USD from you teh full products and I am getting more and more pissed of because your way how to help. Your support is fast, but not good!

The idea with the flashvars.folderpath is great, but your example here is absolutely not working.

Give some good examples that you tested before and include everythging.

a nerved customer from you

FlashXML Support


Unfortunately you didn’t post your message on the correct website. This is no Flashtuning team. We are Team and we don’t have any of the products you specified in your message. You can see here our list of products.


Posted 8 years ago

My english is poor one but I do the best to explain:

I have a site on my computer worked on frontPage, All files are on Mydocuments/mywebsites/ano/newfolder/
I want put two components, one on index.html and other on gallery.html.
I have the site files and folders as well folders component1 and component2 where are the files and folders correspondent to each one as follwing:

-On Mydocuments/mywebsites/ano/newfolder/ component2: images folder colorbox folder assets folder swfobject.js style.CSS settings.XML imageScrollerFX.SWF imageScrollerFX.MXP imagesrollerFX.FLA images.XML

On Mydocuments/mywebsites/ano/newfolder/ component2:
(as above for the corresponding compenent)

On site index page between <head> </head> following:

<script type=“text/javascript” src=“component2/swfobject.js”></script> <script type=“text/javascript”> var flashvars2 = {}; flashvars.folderPath = “component2/”; var params2 = {}; params2.scale = “noscale”; params2.salign = “tl”; params2.wmode = “transparent”; var attributes2 = {}; swfobject.embedSWF(“component2/ImageScrollerFX.swf”, “DivImageScrollerFX”, “759”, “160”, “9.0.0”, false, flashvars2, params2, attributes2); </script>

On posicion where I want the scroller : <div id=“DivImageScrollerFX”></div>

On the end before </body> :
<div id=“DivImageScrollerFX”> <a href=“”> <img src=“” alt=“Get Adobe Flash player” /> </a> </div>
<div id=“ComponentDiv2”>

After for component1 I do the some on gallery page.

Nothing hapened . Could you inform me if it is correct on what mus be changed?
Thanks in advance


Posted 8 years ago

“...Test it and see if it works.”

It works very great, thank you for your support!
You’re the best! )

Do you have a question?

you will get an answer in 24 hours, tops.

(required) Only alphanumeric characters allowed
(required) (will not be published)
Please type a message! Your message is too long! Either try to keep within 1500 characters, or contact our support team via email at support [at]
(will not be published)
You mistyped the two words!
Can't read? Change the image
Format your comments using Textile: *bold*, _italic_, "link text":address, @code@
Connect to us on Facebook Follow us on Twitter Subscribe to our RSS feed
Copyright © 2009 - 2019