# getURL problem

**URL:** https://forum.kirupa.com/t/geturl-problem/80691
**Category:** Uncategorized
**Created:** [February 24, 2005, 12:35am UTC](https://forum.kirupa.com/t/geturl-problem/80691 "2005-02-24T00:35:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Blackheart6004](https://avatars.discourse-cdn.com/v4/letter/b/a88e57/32.png) [@Blackheart6004](https://forum.kirupa.com/u/Blackheart6004)
#### Post date: [February 24, 2005, 12:35am UTC](https://forum.kirupa.com/t/geturl-problem/80691/1 "2005-02-24T00:35:53Z")

</div>

I’ve tried linking to a website in Flash MX 2004 and I got this problem during Actionscripting:

```auto
on (release) }
	getURL ("http://www.planetside.co.uk", "_blank", "PLANETSIDE");
}

```

and heres the Error message when previewing:

```auto
**Error** Scene=Scene 1, layer=planetside button, frame=1:Line 1: Mouse events are permitted only for button instances
     on (release) 

**Error** Scene=Scene 1, layer=planetside button, frame=1:Line 3: Method name must be GET or POST
     		getURL ("http://www.planetside.co.uk", "_blank", "PLANETSIDE");

**Error** Scene=Scene 1, layer=planetside button, frame=1:Line 2: Statement block must be terminated by '}'
     {

**Error** Scene=Scene 1, layer=planetside button, frame=1:Line 4: Syntax error.

**Error** Scene=Scene 1, layer=planetside button, frame=1:Line 1: String literal was not properly terminated
     getURL("http://www.planetside.co.uk);

**Error** Scene=Scene 1, layer=planetside button, frame=1:Line 2: ')' or ',' expected

**Error** Scene=Scene 1, layer=planetside button, frame=1:Line 1: Statement must appear within on handler
     getURL("http://www.planetside.co.uk);

Total ActionScript Errors: 7 Reported Errors: 7

```

can someone please help me? thanks.
