 						// if not found, then it must have died..
 						if(tuioobj1)
 						{
-							var curPt1:Point = parent.globalToLocal(new Point(tuioobj1.x, tuioobj1.y));						
+							curPt1 = parent.globalToLocal(new Point(tuioobj1.x, tuioobj1.y));						
 							blob1.origX = curPt1.x;
 							blob1.origY = curPt1.y;
 						}									

					//trace(this.rotation+'-----------------------o');	
					//trace(curAngle-oldAngle+'-----------------------a');	
					//if((curAngle-oldAngle)>=0.05 || (curAngle-oldAngle)<=-0.05){
					rotation = curAngle + (ang2 - ang1);	
					//}	
				}
				
//				x = curPt1.x - ((curLine.x / len2) * len3 * newscale);
//				y = curPt1.y - ((curLine.y / len2) * len3 * newscale);

				var oldX:Number, oldY:Number;
				oldX = x;
				oldY = y;
			
				if(!noMove)
				{	
					//FIX THE WIGGLE
					x = curPosition.x + (curCenter.x - centerOrig.x);	
					y = curPosition.y + (curCenter.y - centerOrig.y);	
				}
			
				

					if(blobs.length >= 2) {
						state = "rotatescale";
						
						curScale = this.scaleX;
						curAngle = this.rotation;					
						curPosition.x = x;
