Search  

SELF-ALIGNING XML MENU BAR

HomeBrowse CategoriesFlashMenus & ButtonsHorizontal MenusSelf-aligning XML Menu Bar
This menu bar:
  • is XML driven Button name and link for the button can be placed in the xml file.
  • loads Url’s and Swf’s I’ve included a set of menu bars for both situations.
  • is Self-aligning The buttons can be aligned to the left, center and right on the menu bar. The alignment is also set up in the XML file, by just using one of the the words: left, center or right.
    The preview here only shows centered menu bars, but you can see different alignments in this preview:
    http://www.2createit.nl/flashden/XMLmenubar/XMLmenu.html
    By the way the red menu is included in this package too.
  • automatically gets the same width as the stage
  • is easy to use The menu bar is a movieclip, which can be dragged to the stage or attached to the stage using the attachMovie method.
  • is easy to customize I’ve included 3 designs, but you can adjust the movieclips that comprise the menu bar to your own likings and create your own design.

Usage and adjustment of the menu bar is completely explained in the readme file.

Also check out my preloaders:

XML Banner Rotation System:

Posted 3 months ago

Hi, My objective is to click on the ABOUT US button and it to open a new window with a defined width and height. I tried

var jscommand:String = “window.open(‘http://www.adobe.com’,’win’,’height=200,width=300,toolbar=no,scrollbars=yes’;);”; getURL(“javascript:” + jscommand + ” void(0);”;);

it works but when I modify the code to read the link from the xml file it does not work

var jscommand:String = “window.open(‘http://+link’,’win’,’height=200,width=300,toolbar=no,scrollbars=yes’;);”; getURL(“javascript:” + jscommand + ” void(0);”;);

PLEASE HELP ! THANKS ! LP

Posted 14 days ago

Hi there lpriego, I’m not very familiar with javascript pop-ups, but I read a few forum posts on the web and see that you are trying to load in the link with +link. This would have to be +this.link, because link does not refer to the button (which is referred to with this inside the button’s mouse event). I don’t think the http:// should be put in front the +this.link. I would probably go for putting the http:// part in the XML file.

Try this: http://pastie.org/241280

Btw pastie is better to post your code, to avoid smiley’s ;)

Posted 13 days ago