Thursday, July 30, 2009

Custom xml header menu


Custom xml header menu

This is a very advanced XML driven AS3 coded menu system. It loads an external header image that you specify in the XML settings file to use for the background image, it loads a skin that you specify in the XML settings file to use for the menu. It comes with 8 skins.

It’s all very advanced, but very simple to use, and integrate it into your website. It has a very small file size, under 7 KB, but it runs off of just under 500 lines of AS3 code. Everything is ready to go, there’s no need to edit any AS3 code, just change a few simple settings in the XML settings file, and it’s ready to use online.

You can use a static image for the header, or a video file. You can tell the XML settings file to load a flash swf for the background image. Just specify the swf file name in the XML settings file, and it’ll load it as the background, it’s that simple. The menu automatically adjusts it’s graphics dimensions to whatever you embed it at, there’s no need to edit any dimension settings, everything is kept dynamic for simplicity.

You can have the buttons align to the left like in the preview, centered, or to the right, just by a single setting in the XML file. You can have it slide the submenus out from below the menu, or above the menu, just by changing a single setting in the XML file. You can have the menu load at the top of the header, bottom of the header, or you can specify a pixel height from the bottom of the header to load the menu at.

[via http://down0day.blogspot.com/]