# Action script

**URL:** https://forum.kirupa.com/t/action-script/197342
**Category:** Uncategorized
**Created:** [August 15, 2006, 7:10pm UTC](https://forum.kirupa.com/t/action-script/197342 "2006-08-15T19:10:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pomogranate](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@pomogranate](https://forum.kirupa.com/u/pomogranate)
#### Post date: [August 15, 2006, 7:10pm UTC](https://forum.kirupa.com/t/action-script/197342/1 "2006-08-15T19:10:39Z")

</div>

I can’t seem to fix this erorr  
can anyone tell me whats wrong’  
Heres the erorr:

```auto
**Error** Scene=Scene 1, layer=buttons, frame=57:Line 1: Statement must appear within on handler
     {btn_Up.onRelease = function() {

Total ActionScript Errors: 1 Reported Errors: 1

```

Heres the code

```auto
{btn_Up.onRelease = function() {
    getURL("'http://'abe.geistig.net/index.swf'")
}
}

```
