# Nav bar question

**URL:** <https://forum.kirupa.com/t/nav-bar-question/221019>\
**Category:** Uncategorized\
**Created:** [March 31, 2007, 5:53pm UTC](https://forum.kirupa.com/t/nav-bar-question/221019 "2007-03-31T17:53:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajaxx715](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@ajaxx715](https://forum.kirupa.com/u/ajaxx715)\
**Post date:** [March 31, 2007, 5:53pm UTC](https://forum.kirupa.com/t/nav-bar-question/221019/1 "2007-03-31T17:53:26Z")

</div>

Here’s a question I have about my nav bar. I’m using the actionscript I have from another site I’ve done, however I want to modify this just a bit so instead of going to another swf movie, it goes to a url instead. Right now my link is a movieclip and this is on frame1…Here’s my actionscript…

stop();

this.onEnterFrame = function(){  
if(rewind == true){  
prevFrame();  
}  
}

this.onRollOver = function(){  
rewind = false;  
play();  
}

this.onRollOut = function(){  
rewind = true;  
}

this.onRelease=function(){  
this.\_parent.container.loadMovie(“home.swf”);  
}

I tried changing the home.swf to home.html (which is the url I want to direct to) but that doesn’t seem to work.

Any ideas?
