 				
 			}			
 			//init SelectGroup
-			_selectedGroup = new Sprite()			
+			initSelectedGroup()
+		}
+		
+		/** 初始化選擇的群組**/
+		protected function initSelectedGroup():void
+		{
+			
+			_selectedGroup = new Sprite()		
 			this.addChild(this._selectedGroup);
 			
+			_shape = new Shape()	
+			updateLine()
+			_selectedGroup.addChild(_shape)				
 			_selectedGroup.visible = _selected
-		}
-		
+			
+		}
+		
+		/**重新計算**/
+		protected function render(scale=1):void
+		{
+			updateLine(scale)
+		}
+		
+		/**更新框線**/
+		protected function updateLine(scale=1):void
+		{
+			if(_contents && _shape){
+				_shape.graphics.lineStyle(10,0xFFffFF);
+					_shape.graphics.clear();
+					
+					System.gc();
+					
+					var _w:Number = _contents.width
+					var _h:Number = _contents.height
+					var _halfW:Number = _w/2
+					var _halfH:Number= _h/2
+					
+					_shape.graphics.lineStyle(2 * scale,0xFFFFFF);
+					//_shape.graphics.drawRoundRect( -_halfW, -_halfH, _w, _h, 10 );
+					_shape.graphics.drawRect(-_halfW, -_halfH, _w, _h);
+					
+					//trace("scale",scale)
+					
+			}
+		}
 		
 		
 

			
			if ( upTexture !=null)
			{
				_ctrlButton = new Button(upTexture,CTRL_BUTTON_NAME,downTexture);
				
				setCtrlButtonInitByObject(_ctrlButton )
			}else{

			
			var touchA:Touch = touches[0];
			var touchB:Touch = touchA.clone();		//模擬B點		
			var n:Point = touchA.getLocation(this);
			//鏡射A點坐標
			touchB.globalX = n.x * 1
			touchB.globalY = n.y * -1
