I keep getting two errors:
-
1084: Syntax Error expecting right parenthesis before colon.
-
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});
}
}
}