# Newbie trying to get a button to link to a url

**URL:** <https://forum.kirupa.com/t/newbie-trying-to-get-a-button-to-link-to-a-url/285529>\
**Category:** flash\
**Created:** [April 1, 2009, 11:16pm UTC](https://forum.kirupa.com/t/newbie-trying-to-get-a-button-to-link-to-a-url/285529 "2009-04-01T23:16:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LWCARAB](https://avatars.discourse-cdn.com/v4/letter/l/3da27b/32.png) [@LWCARAB](https://forum.kirupa.com/u/LWCARAB)\
**Post date:** [April 1, 2009, 11:16pm UTC](https://forum.kirupa.com/t/newbie-trying-to-get-a-button-to-link-to-a-url/285529/1 "2009-04-01T23:16:38Z")

</div>

Hello,

I’m fairly new t flash and I’m pretty crap at it as I can’t even get my button to link to a url, I’ve put the following code the the script for Scene 1 (the only scene(:

on (release) {  
getURL(“[http://www.bbc.co.uk/](http://www.bbc.co.uk/)”);  
}

But I just get 1087: Syntax error and if I preview it there is no link.  
If you need the file you can download it here:

[http://www.leanheat.co.uk/button.fla](http://www.leanheat.co.uk/button.fla)

Thanks for your help,

Richard
