# Error

**URL:** <https://forum.kirupa.com/t/error/189418>\
**Category:** Uncategorized\
**Created:** [June 2, 2006, 9:31am UTC](https://forum.kirupa.com/t/error/189418 "2006-06-02T09:31:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ollie1](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ollie1/32/2180_2.png) [@ollie1](https://forum.kirupa.com/u/ollie1)\
**Post date:** [June 2, 2006, 9:31am UTC](https://forum.kirupa.com/t/error/189418/1 "2006-06-02T09:31:08Z")

</div>

I have the following AS in place in a frame:

```auto

import mx.transitions.Tween;
import mx.transitions.easing.*;

this.mainpage_btn_mc.onRelease = function(){
	mainpage_btn_mc.gotoAndPlay("_down");
    new Tween(work_btn_mc, "_y", None, 43.5, 100, 12, false);
}

```

But I get the following error:

```auto
**Error** Symbol=Nav_mc, layer=constants, frame=1:Line 12: Operator '=' must be followed by an operand
         new Tween(work_btn_mc, "_y", None, 43.5, 100, 12, false);

**Error** Symbol=Nav_mc, layer=constants, frame=1:Line 13: Unexpected '}' encountered
     }

Total ActionScript Errors: 2 Reported Errors: 2

```

What am I doing wrong?
