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

dannell MacIlwraith

Posted 2 years ago

i have bought the Flash XML scroller and followed all your tutorials to customize it. I assumed since it was AS3 that it would work and an external swf. it does! but now i want to have the thumbnails trigger another swf??? very simple concept hoping this is possible or else i wasted my money…

here is a link:
http://www.dannelldesigns.com/website

FlashXML Support

Hi,

Since your website is created in flash, I think you want to play different frames when you click on a thumb.

You’ll need to drag&drop on the stage from you Components window (Ctrl F7) the Image Scroller component. If the component Image Scroller doesn’t appears in the Components window, then you’ll need to install it using mxp file that is found in the commercial archive.
After you drag&drop the component Image Scroller on the stage.
Give an instance name to the scroller that is on the stage using Properties window (Ctrl F3), for example: scroller.
After that, create a new layer an call it actions.
Select the first from this new layer you created.
Open the actions panel (F9).
Now you need to add the event listener that listens when you click on a thumb.
Write the following piece of code in your actions panel.
scroller.addEventListener(“imageReleased”, onClick);
Next you’ll need to write the function onClick that treats this event:
function onClick(e:Event):void
{ var id:Number = e.currentTarget.id; gotoAndPlay(id);
}
This way you can play different frames of you project.

Jan

Posted 2 years ago

Hi snowcat,

I have the dockmenu.swf from the commercial uploaded for my site and I have (flashvars.settingsXML = “settings.xml”;) added, but he can’t see the settings.xml file as in de free version.

I want the dockmenu works the same as the free version but whitout the flashxml link, but the images are not in the right dimensions and the tooltip doesn’t work as the free version, by mouseover (undefined)

What do i wrong.

Jan

FlashXML Support

Hi,

I think you bought an obsolete version of the Dock Menu?

FlashXML Support

If you are interested you could pay the upgrade price and get the last update.

10-4

Posted 2 years ago

After setting embed font to false all my problems went away and everything works fine

Ali

Posted 2 years ago

Hi, I’ve purchased your image_scroller_fx file. It seemed like exactly what I wanted. The scroll images were opening the lightbox when you click on them. After I download my purchased file I realized that the scroll images are taking me to your website instead of opening the lightbox. I’ve tried all the tutorials on the site but there is no luck. what is the easiest way to fix this issue. I am new to the flash.

Please help.

FlashXML Support

Hi,

At the url attribute in the images.xml file you’ll need to write the function that you call from the html file:

Something like:

“javascript:GroupDelegate(‘img1’)”...

Here you find detailed explanations about how to setup lightbox for this component.

Andrea

Posted 2 years ago

hi, I’ve purchased your great file. I have the images in external SERVER.

Ex: <photo image=“http://pan.fotovista.com/dev/5/0/00029405/g_00029405.jpg” target=”_blank” url=“http://www.flashxml.net”><![CDATA[Hello]]></photo>

But no work

You can help me?
Thanks Abdrea

FlashXML Support

Seems that there is a minor bug.
We are on it.
We’ll announce as soon as it’s done.

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