home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Dogs / Multimedia Dogs v2.0.iso / mac / Multimedia Dogs 2.0 / MMDOGS2.DXR / 00346.ls < prev    next >
Encoding:
Text File  |  1995-10-09  |  587 b   |  27 lines

  1. on exitFrame
  2.   autoPointerCursor()
  3.   go(the frame)
  4. end
  5.  
  6. on idle
  7.   global gpGroupsButtonSprite, gCPU
  8.   if gCPU <> #mac then
  9.     exit
  10.   end if
  11.   if the mouseV > 19 then
  12.     exit
  13.   end if
  14.   if the mouseDown then
  15.     putDebug("Groups - clicked in Top 20 Pixels")
  16.     if rollOver(gpGroupsButtonSprite) then
  17.       putDebug("Groups - Top 20 Pixel hack in progress...")
  18.       customButtonBehavior(gpGroupsButtonSprite)
  19.       if rollOver(gpGroupsButtonSprite) then
  20.         waitCursor()
  21.         handleGroupsChoice(gpGroupsButtonSprite)
  22.         pointerCursor()
  23.       end if
  24.     end if
  25.   end if
  26. end
  27.