         if(menushow == 0){      //Menuが出ていない時
             UIView.animateWithDuration(0.3, animations: { () -> Void in
                 self.AnimationMenuView.backgroundColor = UIColor(red: 0.0, green: 0.0, blue: 0.0, alpha: 1.0)
-                self.testbutton.backgroundColor = UIColor(red: 1.0, green: 0.0, blue: 0.0, alpha: 1.0)
+                
+                for(var i = 0; i < 4; i++){
+                    self.screentransitionbuttonarray[i].backgroundColor = UIColor(red: 1.0, green: 0.0, blue: 0.0, alpha: 1.0)
+                }
+                
                 self.view.bringSubviewToFront(self.AnimationMenuView)
                 self.menushow = 1
             })

        
    }
    
}

//  Created by 岩見建汰 on 2015/10/29.
//  Copyright © 2015年 Kenta. All rights reserved.
//

import UIKit

