Code in frame 1 layer 1:

// Don't click Me Program
// Andy Harris
// Dec '04
// Demonstrates button clicks

theButton.onRelease = function(){
  trace ("Ouch!!");
} // end enterframe
	
NOTE: The button will work when you view this page on the web, but you can only see the output when you run "dontClick.fla" from within the editor. Please see the chapter for details.