# (newbie help) adding url link to buttons

**URL:** <https://forum.kirupa.com/t/newbie-help-adding-url-link-to-buttons/98845>\
**Category:** Uncategorized\
**Created:** [January 12, 2004, 3:25am UTC](https://forum.kirupa.com/t/newbie-help-adding-url-link-to-buttons/98845 "2004-01-12T03:25:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![swanknoodles](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@swanknoodles](https://forum.kirupa.com/u/swanknoodles)\
**Post date:** [January 12, 2004, 3:25am UTC](https://forum.kirupa.com/t/newbie-help-adding-url-link-to-buttons/98845/1 "2004-01-12T03:25:31Z")

</div>

ok so i’m making a flash page and i started to make buttons then realized i didnt know how to link the buttons.  
so i looked up some tutorials, but they didnt help at all  
i figured you had to use the get url action script but when i type the url in the space you are suposed to, then test it.  
it always shows me an error message. **Error** Scene=Scene 1, layer=bg, frame=1:Line 1: ‘)’ or ‘,’ expected  
getURL([http://www.yahoo.com](http://www.yahoo.com));

Total ActionScript Errors: 1 Reported Errors: 1

i have tryed it so many times but i am sure i am doing something very stupid wrong.  
please help haha  
thanks, dan

---

<div class="post-metadata">

**Author:** ![ton\_douglas](https://avatars.discourse-cdn.com/v4/letter/t/cdc98d/32.png) [@ton\_douglas](https://forum.kirupa.com/u/ton_douglas)\
**Post date:** [August 5, 2004, 12:09am UTC](https://forum.kirupa.com/t/newbie-help-adding-url-link-to-buttons/98845/2 "2004-08-05T00:09:40Z")

</div>

Hel!!!

I’m a newbe and I have the button with four states …Up, Over Down and Hit…

What state do I put the code over…

Help!!!

Thanks

Tony

---

<div class="post-metadata">

**Author:** ![kode](https://avatars.discourse-cdn.com/v4/letter/k/97f17d/32.png) [@kode](https://forum.kirupa.com/u/kode)\
**Post date:** [August 6, 2004, 4:10am UTC](https://forum.kirupa.com/t/newbie-help-adding-url-link-to-buttons/98845/3 "2004-08-06T04:10:32Z")

</div>

Select the button and hit F9 the bring up the Actions panel, put the code in there.

…And welcome to kirupaForum. 🙂
