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

LHollo

Posted 4 months ago

My customer wants to rotate 2 Flash ads, both SWF files. I have downloaded the Banner Rotator and am at a loss of how to configure. Please provide guidance for the following:

Do I put the SWF files in the images folder?
Do I list the SWF files in images.xml?
If so, do I use the <photo> tags or some other tag?
If not, do I create another xml file? What are the minimum required settings and syntax for SWF files?

Thank you for your help.

FlashXML Support

Hi,

1. Yes, put the SWF files in the image folder.
2. Add the SWF files in the images.xml like this:

<photo image="images/animation1.swf" url="http://www.flashxml.net" target="_blank"></photo>

dlogic

Posted 5 months ago

I have bought the premium package. I like the product. I am using the calendar. Is the only way to input calender events into the event.xml file by manually entering them. Is there a form, or some automated way. When I edit the events file, the calendar gets into a loop and will not open.

Thanks
dLogic

FlashXML Support

Hi,

The only way to add events in the Calendar FX is to manually edit the Events.xml file and add yours in it. The Calendar FX from your website doesn’t work because you’re missing http://www.malco.com/2010_newmalco/Events.xml file.

Benoit

Posted 5 months ago

Thank you.

Can you give me more information ?
I do not understand where and how you are using “images.PHP”.

Thanks for help.

Benoit

Posted 5 months ago

Hello,

I use “3D Carousel Menu FX” with JSP page.

Is it possible to use the flash without images.xml?

I want to create my image list, in my JSP page, to make custom settings (select the images to be displayed according to the user).

Thank you for your help.

FlashXML Support

Hi,

I am not sure about the JSP page, but it is possible to use instead of a static XML file a dynamic PHP file. For example you can change the settings.xml’s images attribute like this:

<assets value="images.PHP"/>

Now, the component will use the PHP code to get its images. You just need to configure the PHP script to generate the XML syntax according to whatever rules you want.

LyricalGenius1

Posted 5 months ago

Hi,

I want to use my own custom font. I’ve stored the tff file in a dedicated Fonts folder on my server. How do I reference this font in the 3d banner fx component?

Thanks.

FlashXML Support

Hi,

Please read this FAQ.

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