Search FlashComponents.net's Forum

Simple menu bar...how to link the labels?

Home / /community/ / General Discussions / Simple menu bar...how to link the labels?

Started 1 year ago by LIZETHP

Last reply by LIZETHP

Recent posts in this topic

  • Hi... I have the following code, got it from the Free downloads here.... the link is not working when I publish it on my website I click on each laber and the link would not work...?

    can anyone give me alil help? :)

    Thanks in advance, Lizeth

    function onLoad(){ var menu :Array = [ {label:"About us", url:"about.html"}, {label:"Service", url:"Service.html"}, {label:"Forums", url:"Forums.html"}, {label:"Blog",url:"Blog.html"}, {label:"Contact us",url:"Contact.html"}, {label:"Help",url:"Help.html", url:"Help.html"}// ]; simpleMenuBar.addEventListener('change', simpleMenuBarChange)
    simpleMenuBar.populateMenu(menu, 0, 0, 2); simpleMenuBar.selectByIndex(0);

    }

    function simpleMenuBarChange( obj:MovieClip) { // obj.url to get selecteditem's url // obj.label to get selecteditem's label trace(obj.label); trace(obj.url); //getURL(obj.url) }


    #  /  posted on Feb 04, 2012

Please login to post replies.

SUPPORTERS

FORUM