# getURL

**URL:** <https://forum.kirupa.com/t/geturl/161852>\
**Category:** Uncategorized\
**Created:** [September 7, 2005, 5:19pm UTC](https://forum.kirupa.com/t/geturl/161852 "2005-09-07T17:19:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaoloner](https://avatars.discourse-cdn.com/v4/letter/x/dec6dc/32.png) [@xiaoloner](https://forum.kirupa.com/u/xiaoloner)\
**Post date:** [September 7, 2005, 5:19pm UTC](https://forum.kirupa.com/t/geturl/161852/1 "2005-09-07T17:19:16Z")

</div>

i tried to link a button to a webpage using actionscript. but the page will not appear on \_self instead, it open a new window. how do i make it open on \_self? below is my actionscript.

on (release) {  
getURL(“main.html”, 1);  
}
