home *** CD-ROM | disk | FTP | other *** search
/ DIGIZINE 1 / DIGIZINE.BIN / main / sony / highdes.dir / 00025_Script_25 < prev    next >
Text File  |  1995-09-12  |  1KB  |  40 lines

  1. --rollover tp main
  2.  
  3. on enterframe
  4.   TPROLL
  5. end
  6.  
  7. on exitframe
  8.   go the frame
  9. end
  10.  
  11. --------
  12.  
  13. on TPROLL
  14.   if rollover(5) then --rollover the rectangular sprite area
  15.     if the mouseCast = the castNum of sprite 5 then --rollover the matted sprite area
  16.       set the locH of sprite(5) to (the locH of sprite(5) + 5)
  17.       updatestage
  18.       set the locH of sprite(5) to (the locH of sprite(5) - 5)
  19.       updatestage
  20.       exit
  21.     end if
  22.   else if rollover(6) then
  23.     if the mouseCast = the castNum of sprite 6 then
  24.       set the locV of sprite(6) to (the locV of sprite(6) + 5)
  25.       updatestage
  26.       set the locV of sprite(6) to (the locV of sprite(6) - 5)
  27.       updatestage
  28.       exit
  29.     end if
  30.   else if rollover(7) then
  31.     if the mouseCast = the castNum of sprite 7 then
  32.        set the locH of sprite(7) to (the locH of sprite(7) + 5)
  33.       updatestage
  34.       set the locH of sprite(7) to (the locH of sprite(7) - 5)
  35.       updatestage
  36.       exit
  37.     end if
  38.   end if
  39. end
  40.