//main scene var varClip1 = "no"; var varClip2 = "no"; var varClip3 = "no"; //button one on (release) { if (_root.varClip2 == "yes") { _root.clip2.gotoAndPlay("out"); } if (_root.varclip3 == "yes") { _root.clip3.gotoAndPlay("out"); } if (_root.varclip1 == "no") { _root.clip1.gotoAndPlay("in"); } else { _root.clip1.gotoAndPlay("out"); } } //button 2 on (press) { if (_root.varclip1 == "yes") { _root.clip1.gotoAndPlay("out"); } if (_root.varclip3 == "yes") { _root.clip3.gotoAndPlay("out"); } if (_root.varclip2 == "no") { _root.clip2.gotoAndPlay("in"); } else { _root.clip2.gotoAndPlay("out"); } } //button 3 on (press) { if (_root.varclip1 == "yes") { _root.clip1.gotoAndPlay("out"); } if (_root.varclip2 == "yes") { _root.clip2.gotoAndPlay("out"); } if (_root.varclip3 == "no") { _root.clip3.gotoAndPlay("in"); } else { _root.clip3.gotoAndPlay("out"); } }