Questions

Answer

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

The SWF file loads at start the settings.xml file which contains all the parameters of the component. You can customize these parameters on the Live Demo of the component (the demo with controls) and then click on the “Generate settings.xml” button. You can overwrite this generated content over the contents of the existing (default) settings.xml file.
The filename of the settings.xml file can be modified through FlashVars:

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

like in this example:

<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.settingsXML= "your_filename.xml";
var params = {};
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
var attributes = {};
swfobject.embedSWF("ComponentNameFX.swf", "ComponentNameDiv", "600", "300", "9.0.0", false, flashvars, params, attributes);

In the images.xml file (the name of the file can be modified inside the settings.xml file) you can add as many images as you want to the component. There is no parameter to specify a total number of images which a component will use, and this number will be calculated from the number of rows added in the images.xml file.
Each row represents a new image, and for each image you can specify things like:
- image - the path of the image
- url - the address to go to when clicking the image
- target - “_self” opens the url in the same browser page, ” _blank” opens the url in a new browser page
The attributes list may differ from one component to another. You will usually have all the particularities each component’s image can support.

Comments

Jonathan

Posted 9 months ago

Hi,

I download the 3d carousel menu but when I edit the url in the images.xml, no effect at all. It does not link to the desired url that I want. Please advice.
Thanks.

FlashXML Support

Hi,

Sometimes the browser caches the old XML files. While editing, please clear your browser’s cache/deactivate it, before trying to view the results of your edits.

Lisa E and Debbie

Posted 9 months 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 9 months 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 9 months 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 9 months 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.

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 - 2012