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

okay I have this actionscript:

btn_red.onRelease = function () {
geturl=(http://www.google.com);
};

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