     let circleimage = UIImage(named: "../images/circle.png")
     var circleimageview = UIImageView()
     
-    var screentransitionbuttonarray: [UIButton] = []
+ //   var screentransitionbuttonarray: [UIButton] = []
     let buttonarrayinfo: [[Int]] = [[225,171,50],[75,260,50],[200,330,50],[145,217,90]] //右上,左下,右下,真ん中
     var tap: [UITapGestureRecognizer] = []
     var GestureRecognizerViewArray: [UIView] = []
     
     override func viewDidLoad() {
         super.viewDidLoad()
-      //  tap.addTarget(self, action: "onTap:")
         
         //背景を設定
         //        backimageview.image = backimage

        
        //遷移ボタンの作成
        for(var i = 0; i < 4; i++){
            let screentransitionbuttonwork = UIButton()
            let GestureRecognizerViewwork = UIView()
            let tapwork = UITapGestureRecognizer()
            
            tapwork.addTarget(self, action: "onTap:")
            screentransitionbuttonwork.frame = CGRectMake(CGFloat(buttonarrayinfo[i][0]),CGFloat(buttonarrayinfo[i][1]),CGFloat(buttonarrayinfo[i][2]),CGFloat(buttonarrayinfo[i][2]))
            GestureRecognizerViewwork.frame = CGRectMake(CGFloat(buttonarrayinfo[i][0]),CGFloat(buttonarrayinfo[i][1]),CGFloat(buttonarrayinfo[i][2]),CGFloat(buttonarrayinfo[i][2]))
            
            //テスト用に色をつけてある
//            GestureRecognizerViewwork.backgroundColor = UIColor.blueColor()
            
            if(i == 3){
                screentransitionbuttonwork.layer.cornerRadius = 45
                GestureRecognizerViewwork.layer.cornerRadius = 45
            }else{
                screentransitionbuttonwork.layer.cornerRadius = 25
                GestureRecognizerViewwork.layer.cornerRadius = 25
            }
            
            screentransitionbuttonarray.append(screentransitionbuttonwork)
            GestureRecognizerViewArray.append(GestureRecognizerViewwork)
            tap.append(tapwork)
            screentransitionbuttonarray[i].tag = i
            GestureRecognizerViewArray[i].tag = i
            AnimationMenuView.addSubview(screentransitionbuttonarray[i])
            GestureRecognizerViewArray[i].addGestureRecognizer(tap[i])
            AnimationMenuView.addSubview(GestureRecognizerViewArray[i])
            AnimationMenuView.sendSubviewToBack(GestureRecognizerViewArray[i])

            UIView.animateWithDuration(0.3, animations: { () -> Void in
                self.circleimageview.alpha = 0.0
                for(var i = 0; i < 4; i++){
               //     self.screentransitionbuttonarray[i].backgroundColor = UIColor(red: 1.0, green: 0.0, blue: 0.0, alpha: 0.0)
                }
                self.menushow = 0
            })
