Actions layer, Frame #1 ActionScript code: gotoAndStop("SquareLoop"); spinningSquare.stop(); n = 0; Frame #40 code: gotoAndPlay(2); n = n+1; count_txt.text = n; Frame #100 code: gotoAndPlay("SquareLoop"); n = n + 1; count_txt.text = n; Go button code: on (release) { spinningSquare.play(); play(); } Stop button code: on (release) { stop(); spinningSquare.stop(); } Bounce button code: on (release) { gotoAndPlay(2); } Spin Square button code: on (release) { gotoAndPlay("SquareLoop"); spinningSquare.play(); } October24th.fla and October24th.html and October24th.swf are the files. http://www.uni.edu/jacobson/October24th.html to see it: