# Trouble getting navigation bar to work

**URL:** <https://forum.kirupa.com/t/trouble-getting-navigation-bar-to-work/292055>\
**Category:** Uncategorized\
**Created:** [July 9, 2009, 1:49pm UTC](https://forum.kirupa.com/t/trouble-getting-navigation-bar-to-work/292055 "2009-07-09T13:49:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfergy820](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@jfergy820](https://forum.kirupa.com/u/jfergy820)\
**Post date:** [July 9, 2009, 1:49pm UTC](https://forum.kirupa.com/t/trouble-getting-navigation-bar-to-work/292055/1 "2009-07-09T13:49:29Z")

</div>

i have a navigation bar made in flash that i placed on a dreamweaver document and i dont know how to make the links work with the flash. how can i tell the flash to go to the certain dreamweaver docs?

(as)

function onLoad(){  
var menu :Array = [  
{label:“Home”, url:“[http://www.yahoo.com](http://www.yahoo.com)”},  
{label:“News”, url:“news.html”},  
{label:“Sports”, url:“sports.html”},  
{label:“Features”,url:“features.html”},  
{label:“A&E”,url:“a&e.html”},  
{label:“Forum”,url:“forum.html”},  
{label:“Visionary”,url:“visionary.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)  
}
