Menu with slider

Hi, I used the menu with slider tutorial and slightly modified it, where do I put the get URL so that I can link the buttons to pages? I tried putting:

on (rollOver) {
getURL(“http://www.google.com”);
slider.xMove = button_1._x+(button_1._width/2)-(slider._width/2);
}

but then obviously the page opens on rollover but i want it to work on release for all my buttons?
thanks!