# Help with Syntax Error 1084

**URL:** <https://forum.kirupa.com/t/help-with-syntax-error-1084/312293>\
**Category:** flash\
**Created:** [July 29, 2010, 10:18pm UTC](https://forum.kirupa.com/t/help-with-syntax-error-1084/312293 "2010-07-29T22:18:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chedrick](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@chedrick](https://forum.kirupa.com/u/chedrick)\
**Post date:** [July 29, 2010, 10:18pm UTC](https://forum.kirupa.com/t/help-with-syntax-error-1084/312293/1 "2010-07-29T22:18:42Z")

</div>

I keep getting two errors:

1. 1084: Syntax Error expecting right parenthesis before colon.

2. 1084: Syntax Error: expecting colon before dot.

I put an asterisk by the lines with the errors. The first error goes with the first asterisked line of code, etc.

I have looked in the Live Docs and other sources. I understand what this error means, I just can not find where the problem is. Please help!

Below is the code that I am using:

var zoomInOut:Boolean = new Boolean();

zoomInOut = false;  
trace(zoomInOut.valueOf()); // gives you false

zoomInOut = true;  
trace(zoomInOut.valueOf()); // gives you true

this.thurs\_hair\_mc.addEventListener(MouseEvent.CLICK, zoomInOutClick);  
function zoomInOutClick (e:MouseEvent):void {  
if (zoomInOut==false) {  
if (thurs\_hair\_mc.currentFrame\<2){

- if (thurs\_hair\_mc.scaleX:.6 && thurs\_hair\_mc.scaleY:.6){  
zoomInOut=true;
- 

```
  Tweener.addTween(thurs_hair_mc, {x: 50, thurs_hair_mc.scaleX:1, scaleY:1, time:1, transition:"easeoutquad",onComplete:zoomOff});

```

}  
}  
}  
}
