Search  

XML DRIVEN ACCORDION (VERTICAL)

HomeBrowse CategoriesFlashApplications and UtilitiesImage ViewersXML Driven Accordion (vertical)

XML Driven Accordion (vertical) Perfect file to function as a portfolio viewer, mini-site or maybe even for navigational purposes. An easy to use accordion that you can give any size you want just by adjusting the XML file.

With the XML file you can add as many tabs as you want. From the XML you can the following to a tab:
  • A label for the tab bar.
  • A title and description for the text area.
  • An image or swf as the content for the tab.
  • A URL for each tab when clicked on.
You can also change the following parameters from the XML file:
  • The width and height of each tab and thus the size of the accordion
  • The height of the text area, which automatically adjusts the text field height inside it
  • The alpha transparency of the text area
  • The tween time (in seconds). The time it takes the tabs to slide

The textfield title and description also support HTML formatting. By placing the text in between the CDATA tags, you can e.g. give you text another font colour. The XML file contains a good example of how it’s done.

The accordion itself is a simple movieclip and thus can be add to your project by just copying the accordion mc and the acoordion folder to your library. Then just attach the accordion mc to the stage and you are good to go. Placing the accordion on stage is also shown in the file itself. This file was made due to requests because of the previous version, that tweened horizontally.

Check out my other files:

Banner rotator


XML Accordions


XML Menu’s
>

Preloaders

Posted 4 months ago

clean

Posted 4 months ago

Cheers mate

Posted 4 months ago

neat

Posted 4 months ago

Good Job.

Posted 4 months ago

cheers guys

Posted 4 months ago

good one

Posted 4 months ago

Thank you hitek.

Posted 4 months ago

good

Posted 4 months ago

Thnx, sieasi

Posted 4 months ago

It looks good but I have some hesitation when I roll into it quickly.

Posted 4 months ago

Hmmm I see, a small bug. I think it has to do with the fact that I’m using the normal tween class in flash. I’ll see if I can adjust this by using another tweening class like Fuse e.g.

Posted 4 months ago

Can I change the effect to happen on clicking the tab rather than hovering?

Posted 2 months ago

I made a clicking version for the horizontal one. I will try to make a clicking version tomorrow for this accordion too. If you leave your e-mail I will contact you, when it is finished. If you buy this file, you will get the clicking version for free.

Posted 2 months ago

Hi,

I have downloaded this but I wanted the url to be opened in _top. Where do I change the action as the urls are now opening in new windows..

Posted about 1 month ago

That has to be done in the fla file. The getURL function is on line 251 of the accordion MC. There you can change the _blank to _top. Not sure if it will do what you want it to do. Let me know if you need more help.

Posted about 1 month ago

Hmm strange, miguel13. You say you downloaded the file, but the purchased icon is not showing in your message.

Posted about 1 month ago

I have loaded an external swf into one of the panels by means of the XML file. The swf loads fine, however the buttons within the loaded swf do not work. Is there a way to fix this? The external swf is a photo gallery with thumbnails.

Posted about 1 month ago

Hi there redrocker,

to be honest I’m not sure if it’s my file that is causing that, cause the only thing it does is load in the swf and that’s it. I’m willing to take a look at your files and see if I can find the bug. My e-mail address can be found in my profile. I can’t take a look at it until somewhere after the weekend.

Posted about 1 month ago