Questions

Answer

How to load a product with a different settings.xml file

How SWF and XMLs interact

 

The product's SWF file loads by default the settings.xml file which contains all the parameters of the component. You can rename this file but you have to specify the new name using the following code:

var flashvars = {};
flashvars.settingsXML = "your_name.xml";

like in this example for the 3D Banner FX:

<div id="Div3DBannerFX"></div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
 var flashvars = {};
 flashvars.settingsXML = "your_name.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>

 

The assets (images, videos, text etc.) displayed by the product are specified in the images.xml (or menu.xml, videos.xml, big.xmlmedia.xml for other products). You can also rename this file but you have to specify in the settings.xml file through assets element what's the new name, like this example:

assets value="your_name_images.xml"

The Banner Rotator FX, Dock Menu FX and 3D Carousel Menu AS2 FX has imagesXML instead of assets element in the settings.xml file. The Video Player FX has media_url.

Comments

Lisa E and Debbie

Posted 2 years ago

Can you tell us how to make more than one image file so we can load different photo galleries on different pages. We have the page flip software. Thanks.
L.

FlashXML Support

Hi,

Please go to this link and follow the tutorial.

Debbie

Posted 2 years ago

Hi,
I purchased the page flip software. Have it loaded. I see it on my widget page and I can put your sample into my page, but I do not know how to get my photos loaded so that the will show.

Thanks for some help. Be gentle, I am new to this!!!

Bye!

FlashXML Support

Hi,

Edit images.xml and follow the example on how the pages are set. Every page has photo tags, and setting a value to the image(path to file) attribute is how a picture is loaded on a page of the flash component.

Primoz

Posted 2 years ago

Hi!
I have written imges.xml as you specified: *
<images> <photo image=“images/panoramas/NarvikPW.jpg”></photo> <photo image=“images/panoramas/ObIztekuP.jpg”></photo> <photo image=“images/panoramas/01.jpg” hotspots=“assets/hotspots/hotspots2.xml”></photo>
</images>

  • Is this correct? swf file reads only the first image (NarvikPW.jpg) and ignores the rest. what have I done wrong? Can you explain, please?

FlashXML Support

Hi,

Send us the link to your website and we will check it out

Bob

Posted 2 years ago

Hi, I’d like to install the ‘Dock Menu’ on my new website which is being hosted by EKM Power Shops but, they do not grant ftp access so the only file that I can upload via the user interface is the .swf which, obviousley does not register any picture as there is no way for me to load the .xml files to the root.

Is there a way around this please?

FlashXML Support

Hi,

You will need to use another host for the component’s file that will allow you to upload all the assets. Now, in the embedding code, on your site, you have to write the absolute path for those files. Also, you will need to create a crossdomain.xml file in the root of the host server, please read this tutorial.

Bob Clark

Posted 2 years ago

What is the configuration necessary to change the images.xml filename in the setting.xml configuration for the Image Slider? Can the filename be a fully qualified URI?

FlashXML Support

Hi,

Can you please give us more details on what you are referring?

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] flashxml.net.
(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 © FlashXML.net 2009 - 2013