Questions
Answer
How to publish a product twice on the same page
If you want to publish the same SWF twice on the same HTML page, you don’t need two SWF files nor two swfobject.js files, but you’ll need different settings.xml files (e.g. settings1.xml, settings2.xml) and different images.xml files (e.g. images1.xml, images2.xml) and also different images (if you don’t want to have the same pictures obviously). You can specify in a settings.xml file which images.xml to load through assets (or imagesXML for some products) attribute.
Note that some products have menu.xml, videos.xml or other names instead of images.xml.
This is an example for 3D Banner FX.
You have to add the following code where you want to display the first banner:
<div id="Div3DBannerFX"></div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.settingsXML= "settings1.xml";
var params = {};
params.base = "";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
swfobject.embedSWF("3DBannerFX.swf", "Div3DBannerFX", "600", "374", "9.0.0", false, flashvars, params);
</script>
You have to add the following code where you want to display the second banner:
<div id="Div3DBannerFX2"></div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.settingsXML= "settings2.xml";
var params = {};
params.base = "";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
swfobject.embedSWF("3DBannerFX.swf", "Div3DBannerFX2", "600", "374", "9.0.0", false, flashvars, params);
</script>
If you use a different product then replace the 3D Banner's name with the name of your product.
Comments
Do you have a question?
you will get an answer in 24 hours, tops.





Mads
Posted 2 years agoI have tried to put the dock menu FX on my website but i have problems on moving it into the position i want, how do i do that? Right now its just on the top left corner and cant seem to move it :/
Hi,
Where exactly would you like to place it? Maybe you can give us a link to your website and tell us where you would like to place it in that website.
Thabiso
Posted 2 years agoHi,
I just bought a commercial license and I tried to implement the tool into my website. It works almost ok :-)
But I’m having the following trouble:
I’d like to get a “kind of fullscreen” view of an image, when the user clicks on it (the exact same way as it is in Demo4). I don’t get it to work :-( It does allways open the link instead of a big-size-view.
-<maximize value=“false”/> -<useLightbox value=“true”/>The two (in my consideration) settings are set to:
Please let me know what I’m doing wrong….
Thanks
Thabiso
Hi,
Please provide us a link to your website and we will check it.
susan
Posted 3 years agoHi again,
So what about running two different components on the same page? Would the same procedure explained on this page apply? Both the video player and the text menu have a “settings.xml” file and a “sfobject.js” file. Since all the files will be in the same directory on the server, won’t these files conflict with each other? Wouldn’t we have to rename them? If so, how should we do it and where else would we need to make the changes?
Thanks!
Hi,
The procedure is the same.
Rename the common files in order to not have a conflict between components.
johnniewest
Posted 3 years agoWhat´s about the solution for the wellknown bug:I refer to the words of Greg one month ago(I tested the results on http://www.lisapinelli.com/scrollertest/index.html
I edited photo image number four to a .png file from the images folder in images.xml and as you can see, the second scroller instance is being referenced to the same images.xml file).
I have the same problem and i hope you can improve your application that we can work with it)
thank you
Johnnie
Hi,
We fixed this bug some time ago.
Please send me the archive that you downloaded from us to support at flashxml.net.
I’ll check it out.
johnniewest
Posted 3 years agoWhat´s about the solution for the wellknown bug:I refer to the words of Greg one month ago(I tested the results on http://www.lisapinelli.com/scrollertest/index.html
I edited photo image number four to a .png file from the images folder in images.xml and as you can see, the second scroller instance is being referenced to the same images.xml file).
I have the same problem and i hope you can improve your application that we can work with it)
thank you
Johnnie