Accordion FX

free package

  • Fully functional, no restrictions

  • Easy to install on any website

  • XML customizable

  • GPL Licensed

  • Watermarked :

DOWNLOAD NOW

Features

- customizable width & height
- unlimited number of images
- advanced text effects, zoom image effects
- auto play options
- resizable to the extent of 1680 x 1050 pixels
- HTML/CSS formatted text
- supports images (JPG, GIF, PNG, BMP) and SWFs
- external PNGs (changeable) for play/pause and next/previous buttons

Installation instructions for:

How to install this Accordion on your website

 

Step 1. SWF embedding

Download the accordion.zip package and put all the files from this package into the same folder with the HTML file in which you want the component to be embedded.

You should know first of all that the SWF file is the one that actually represents the component, while the other files (settings.xml, images.xml and JPGs in the images folder) are the assets that the SWF file uses.
A short explanation on how SWFs and XMLs interacts you will find here.

Open your HTML file with a text editor and insert somewhere between the <head> </head> tags the following lines:

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

 

For a fast and easy publishing, the best thing to do is to have the SWF file, the HTML file which embeds the SWF, the swfobject.js file, and the assets that the SWF uses (XMLs, JPGs folder) in the same folder.

If that is not possible, please read this detailed article on how to specify the paths correctly.

The above code itself isn’t enough to publish the SWF file on your webpage. You just need to add a div somewhere in the body section of your page (between the tags of your HTML file).

So, in a specific location of your HTML body section insert this div:

<div id="AccordionDiv"></div>

 

Step 2. Customization

You’ll be able to define a maximum size of 1680 in width and 1050 in height in the 3rd and 4th arguments of the swfobject.embedSWF() function above. Usually the same values as for width and height (which you will set below).

Now you will have to define the properties of your Accordion.

You can do that by editing the settings.xml file, or much simpler, set your values on the Live Demo above and press Generate button, then select all (Ctrl+A) and copy-paste over the existing content of settings.xml file.

If you intend to have multiple Accordions on the same page, for the same accordion.swf file you’ll need to have different settings. Please read here how publish a component twice on the same page.

Now all you have to do is to put your own images, add the text and add the behavior for when clicking each image. All these through the images XML file. Open the XML file with a text editor and define in each row the image path, the URL to go to when clicking the image, the target (_self for the same browser window, or _blank for a new browser window), and the text in CDATA tags.
You can have as many images as you like. To add a new image add a new row in the XML file.

To add Lightbox functionality (showing a bigger image and a description when clicking on an image) please read this article.

 

If you’ll want to use the Accordion in Flash projects (FLA files), the Accordion is available as a Flash component (MXP file) in the paid package

Instructions on how to use the Accordion component in Flash you will find here.

To be able to remove the FlashXML.net label from the top-left corner you will need to purchase the paid package

Make sure your Wordpress version is greater than 2.8 and your hosting provider is using PHP5.

 

1. There are two files to download:

    a. WordPress Plugin that you have to install and activate

    b. Free package

2. Create a new folder inside your wp-content folder called flashxml, inside this folder create a new one called accordion-fx and copy the content of the free package there

3. If you copied the free package to a location different than the one above, go to Accordion FX from the Settings tab from your WordPress Dashboard and update the path accordingly

4. Add [accordion-fx][/accordion-fx] where you want the Flash to show up in your post/page.

5. If you want to make the Accordion FX part of your theme, edit the template files and add <?php accordionfx_echo_embed_code(); ?> where you want it to show up

6. Customize your Accordion FX using the Live Demo from the top of this page. Generate the settings.xml text and use it to overwrite wp-content/flashxml/accordion-fx/settings.xml

7. To use your own images, upload them to wp-content/flashxml/accordion-fx/images and update the wp-content/flashxml/accordion-fx/images.xml file accordingly

 

Additional settings file

To embed the Accordion FX more than once, you will need another settings file and (probably) another set of images. Let's assume your new file is called settings2.xml. Add [accordion-fx settings="settings2.xml"][/accordion-fx] where you want the Flash to show up in your post/page. If you made the Flash part of your theme, add the file name as the first argument of the accordionfx_echo_embed_code() function call (for example <?php accordionfx_echo_embed_code("settings2.xml"); ?>).

 

No Flash support text

To support visitors without Adobe Flash Player, you can provide alternative content by adding the text between [accordion-fx] and [/accordion-fx]. If you made the Flash part of your theme, add the text as the second argument of the accordionfx_echo_embed_code() function call (for example <?php accordionfx_echo_embed_code("","Alternative content"); ?>).

 

If you have PHP4

To make it work with PHP4, add [accordion-fx width="600" height="300"][/accordion-fx] where you want the Flash to show up in your post/page. If you made the Flash part of your theme, add the width and height as the third and fourth argument of the accordionfx_echo_embed_code() function call. Don't forget to provide your own width and height values, since 600 and 300 are just examples.

 

Getting rid of the FlashXML.net label

To remove the FlashXML.net label from the top-left corner you'll need to buy the paid package. Once you'll do that, simply use the SWF file from the paid package to overwrite the SWF file from the wp-content/flashxml/accordion-fx/ folder.

Make sure your Joomla version is 1.5 and your hosting provider is using PHP5.

 

Joomla Module Instructions:

1. There are two files to download (both under GPL License):

    a. Joomla Module that you have to install and enable

    b. Free package

2. Create a new folder inside your Joomla folder called flashxml, inside this folder create a new one called accordionfx and copy the content of the free package there

3. If you copied the free package to a location different than the one above, update the Path from module's parameters accordingly

4. Customize your Accordion FX using the Live Demo from the top of this page. Generate the settings.xml text and use it to overwrite flashxml/accordionfx/settings.xml

 

Joomla Plugin Instructions:

1. There are two files to download (both under GPL License):

    a. Joomla Plugin that you have to install and enable

    b. Free package

2. Create a new folder inside your Joomla folder called flashxml, inside this folder create a new one called accordionfx and copy the content of the free package there

3. If you copied the free package to a location different from the one above, update the Path from module's parameters accordingly

4. Add {accordionfx}{/accordionfx} where you want the Flash to show up in your article

5. Customize your Accordion FX using the Live Demo from the top of this page. Generate the settings.xml text and use it to overwrite flashxml/accordionfx/settings.xml

6. The default name for the settings file is settings.xml, but if you want to use another file (for example settings2.xml), specify the name like this: {accordionfx settings="settings2.xml"}{/accordionfx} where you want the component to show up in your article

7. In some cases the width and height will not be read from the settings.xml file but you can specify them like this: {accordionfx width="400" height="300"}{/accordionfx}. Don't forget to provide your own width and height values, since 400 and 300 are just examples.

 

Getting rid of the FlashXML.net label
To remove the FlashXML.net label from the top-left corner you'll need to buy the paid package.
Once you will do that, simply use the SWF file from the paid package to overwrite the SWF file from the flashxml/accordionfx/ folder.

Below you will see instructions on how to install and use the Accordion Component in Flash (available for Flash CS3, CS4, and Flash Player 9 or later).

For basic instructions on how to integrate the Accordion's SWF file into HTML/PHP, click here.

You can watch an installation video tutorial of a very similar component in Flash (3D Carousel Menu FX) by clicking here.

In this video you will see:
- how to create an instance of the component on the stage: from the Components panel (Ctrl+F7) drag & drop the component on the stage
- how to give a name to that instance for further use in ActionScript: click on the component instance on the stage and from the Properties panel (Ctrl+F3) enter a name in the text input
- how to access the properties of the component (read or modify) during different moments of your Flash application

Any property of the Component could be accessed that way. The names of the properties are identical with the ones from the settings.xml file.

The properties of the component can be of any of the three types: Number, String, Boolean. We assume it’s intuitive of which type each property is.

Warning! Setting the parameters of the component in the Component Inspector window (Shift+F7) and in the same time having a settings.xml file populated with different values for each property, the properties from the settings.xml file will have priority (meaning that a parameter set in the Component Inspector will be ignored if that parameter is also defined in the XML file)

For now, this component doesn't dispatch events, but stay tuned for an update.

Similar products

Comments

LAURA

Posted 4 Months Ago

Sorry other question?
The program is a Flash with action script 3.0? So maybe I have problems with my Internet Explorer 8 and the action sript 3.0?
thanks

FlashXML Support

Hi,

Please provide us a link to your website and we will check it.

LAURA

Posted 4 Months Ago

Hi… I’m again. I can’t risolved the problem.
one question
The accordion works o.k. with Internet Explorer 8 to Pc? Because I have problems. I have a mistake. I can’t find it….. :(
thanks

Ray

Posted 4 Months Ago

Confirming what Romanos said, in the downloaded package I cannot find the vertical text that identifies each slide. For instance in the illustrated example above, I can see the title “this is another video” and when I put the mouse over the slide, the title disappears. This is an excellent function that I’d like to make use of to let people aim for the slide they want.

FlashXML Support

Hi,

Re-download this component because we updated it.

Romanos

Posted 4 Months Ago

hmm. Thought i did my best on explaining. The accordion in this website shows some captions “First photo”, “second photo”. When mouse over a picture it disapears and the text in the html part of images.xml of that picture comes in (head, body sections). I want to have that functionality. The caption showed on all pictures of accordion. i suppose its a property but on the downloaded files of the component i cant find that property on images.xml Maybe isnt property, you know better. I just need the captions working exactly as in the example of the accordion website. How is this done??

Cant find any setting in the settings area of the component addressing the afore mentioned captions. The configuration part of the component addresses only settings.xml file. How can anyone also configure images.xml and know what properties working in it? So virtually that was 2 questions. thank you
FlashXML Support

Hi,

We’ve made some updates for this component. Re-download it and you’ll have the new features.

Romanos

Posted 4 Months Ago

Hello. Working On accordion. On the website configurable component i see on certain pictures a caption like “this is photo 1 or video” and so on. When mouse enters it disappears and then the Head and body section html of the images.xml appears. When downloaded the component this initial caption text property isnt included in the images.xml. How can i have that functionality. What property should i include on images.xml to have a caption for image always showing and only disappear when mouse over? Exactly as in the website. Thank you.

FlashXML Support

Hi,

I didn’t understand you. Can you be more explicit?

Boray Eris

Posted 4 Months Ago

I took my utf question back. It is possible.

Boray Eris

Posted 4 Months Ago

Is Utf-8 supported?

Robin

Posted 4 Months Ago

Dear,

I try to start the coverflow.swf called from an other swf. (commercial version).

How can make the flash to start it does not start the component which i dragged on the stage. Running the swf directly by clicking works.

FlashXML Support

Hi,

You should put all your assets of the Accordion FX in the same folder as your FLA file.

Oslino

Posted 4 Months Ago

Hi again, problem solved! It was a mistake in MY setting.xml code.
Now it work!

Thak you for your excellent work!

(Note for Joomla users: indicated paths are right)

But there is another problem. If I click on images (while accordion work automatically), links works right. But if I select with mouse specific image and click on, it don’t work.

There is solution? Thanks

FlashXML Support

Hi,

Please give me a link to your website and I will check it.

Oslino

Posted 4 Months Ago

Hi, I tried to install default Accordion FX (demo 1) on Joomla. I’m in local development. In the main folder (where is index.php file that build template, then htdocs/mysite/templates/mytemplate/index.php ) I put “accordion” folder with his file inside. Now my absolute path is e.g. http://localhost/mysite/templates/mytemplate/accordion/images.xml

Between head tags I have this code

<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/css.css" type="text/css" /> /* joomla css */
<script type="text/javascript" src="templates/<?php echo $this->template ?>/accordion/swfobject.js"></script> /*this is true path*/
<script type="text/javascript">
var flashvars = {};
flashvars.folderPath = "/mysite/templates/mytemplate/accordion/";
var params = {};
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
var attributes = {};
swfobject.embedSWF("/mysite/templates/mytemplate/accordion/accordion.swf", "AccordionDiv", "600", "300", "9.0.0", false, flashvars, params, attributes);
</script>
</head>

setting.xml file has been changed with code generator. Div tag named AccordionDiv is present… but it don’t work.
Can you help me? (sorry for my english!)

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!
(will not be published)
You mistyped the word(s)!
Can't read? Change the image
Format your comments using Textile: *bold*, _italic_, "link text":address, @code@
Subscribe to our RSS feed
Copyright © FlashXML.net 2009 - 2010