# (newbie help) adding url link to buttons

**URL:** <https://forum.kirupa.com/t/newbie-help-adding-url-link-to-buttons/39843>\
**Category:** flash\
**Created:** [January 12, 2004, 3:25am UTC](https://forum.kirupa.com/t/newbie-help-adding-url-link-to-buttons/39843 "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/39843/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:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 5, 2004, 12:09am UTC](https://forum.kirupa.com/t/newbie-help-adding-url-link-to-buttons/39843/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:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 6, 2004, 4:10am UTC](https://forum.kirupa.com/t/newbie-help-adding-url-link-to-buttons/39843/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. 🙂
