home *** CD-ROM | disk | FTP | other *** search
/ DIGIZINE 1 / DIGIZINE.BIN / main / sony / highdes.dir / 00016_Script_16 < prev    next >
Text File  |  1995-09-12  |  747b  |  32 lines

  1. --rollover radio main
  2.  
  3. on enterframe
  4.   RADIOROLL
  5. end
  6.  
  7. on exitframe
  8.   go the frame
  9. end
  10.  
  11. --------
  12.  
  13. on RADIOROLL
  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 locV of sprite(5) to (the locV of sprite(5) + 5)
  17.       updatestage
  18.       set the locV of sprite(5) to (the locV 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 locH of sprite(6) to (the locH of sprite(6) + 5)
  25.       updatestage
  26.       set the locH of sprite(6) to (the locH of sprite(6) - 5)
  27.       updatestage
  28.       exit
  29.     end if
  30.   end if
  31. end
  32.