# Noob question...how to make a button go to a webpage?

**URL:** <https://forum.kirupa.com/t/noob-question-how-to-make-a-button-go-to-a-webpage/226685>\
**Category:** Uncategorized\
**Created:** [May 23, 2007, 4:19am UTC](https://forum.kirupa.com/t/noob-question-how-to-make-a-button-go-to-a-webpage/226685 "2007-05-23T04:19:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![minvikes](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@minvikes](https://forum.kirupa.com/u/minvikes)\
**Post date:** [May 23, 2007, 4:19am UTC](https://forum.kirupa.com/t/noob-question-how-to-make-a-button-go-to-a-webpage/226685/1 "2007-05-23T04:19:51Z")

</div>

okay I have this actionscript:

btn\_red.onRelease = function () {  
geturl=([http://www.google.com](http://www.google.com));  
};

but it doesn’t work for my button…what’s the proper actionscript so that it works? thanks!
