home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2001 October / macformat-108.iso / Tutorials / Flash game tutorial / spot the difference final.swf / scripts / DefineButton2_67 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2001-08-01  |  75 b   |  7 lines

  1. on(release){
  2.    if(0 < Number(score))
  3.    {
  4.       score -= 10;
  5.    }
  6. }
  7.