var setSquare : Set_square ;
setSquare = new Set_square() ;
addChild(setSquare);
setSquare.addEventListener(MouseEvent.MOUSE_DOWN, StartMove);
setSquare.addEventListener(MouseEvent.MOUSE_UP, StopMove);
function StartMove(event:MouseEvent)
{
setSquare.startDrag(true);
}
function StopMove(event:MouseEvent)
{
setSquare.stopDrag();
}