# Need Help w/ Relative URLs

**URL:** <https://forum.kirupa.com/t/need-help-w-relative-urls/189584>\
**Category:** flash\
**Created:** [June 4, 2006, 5:06am UTC](https://forum.kirupa.com/t/need-help-w-relative-urls/189584 "2006-06-04T05:06:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grey\_Knight](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@Grey\_Knight](https://forum.kirupa.com/u/Grey_Knight)\
**Post date:** [June 4, 2006, 5:06am UTC](https://forum.kirupa.com/t/need-help-w-relative-urls/189584/1 "2006-06-04T05:06:13Z")

</div>

I’m _really_ new to Flash, so don’t be too hard on me if i appear stupid here. I’m trying to make a menu for my online portfolio with Flash 8, but i don’t know the correct actionscript for getting relative URLs (urls in the same folder or location as the .swf). Im currently using this code for my buttons (with different instance names and locations):

this.buttonOne.onRelease = function(){  
getURL(“index.htm”, “\_self”);  
};

Any help would be nice 😑
