home *** CD-ROM | disk | FTP | other *** search
/ Galleria D'arte: Manet / Manet.iso / Dati / Internet.dxr / 00006_scorriavanti.ls < prev    next >
Encoding:
Text File  |  2000-12-21  |  1.4 KB  |  61 lines

  1. property pCastORIG, pCastFB1
  2.  
  3. on getPropertyDescriptionList
  4.   pippo = the memberNum of sprite the currentSpriteNum
  5.   pluto = pippo + 1
  6.   paperino = pippo + 2
  7.   propertyDescriptionList = [#pCastORIG: [#comment: "Numero elemento del Cast di origine del bottone", #format: #integer, #default: pippo], #pCastFB1: [#comment: "Numero elemento del Cast del primo feedback", #format: #integer, #default: pluto]]
  8.   return propertyDescriptionList
  9. end
  10.  
  11. on mouseWithin me
  12.   set the memberNum of sprite the currentSpriteNum to pCastFB1
  13.   cursor(280)
  14.   updateStage()
  15. end
  16.  
  17. on mouseLeave me
  18.   set the memberNum of sprite the currentSpriteNum to pCastORIG
  19.   cursor(-1)
  20.   updateStage()
  21. end
  22.  
  23. on mouseDown me
  24.   cursor(280)
  25.   updateStage()
  26. end
  27.  
  28. on mouseUp me
  29.   global gPaginaCorrente, gPagine
  30.   if gPaginaCorrente = gPagine then
  31.     exit
  32.   end if
  33.   if gPaginaCorrente = 1 then
  34.     caricasezione(9, 16)
  35.   else
  36.     if gPaginaCorrente = 2 then
  37.       caricasezione(17, 24)
  38.     else
  39.       if gPaginaCorrente = 3 then
  40.         caricasezione(25, 32)
  41.       else
  42.         if gPaginaCorrente = 4 then
  43.           caricasezione(33, 40)
  44.         else
  45.           if gPaginaCorrente = 5 then
  46.             caricasezione(41, 48)
  47.           else
  48.             if gPaginaCorrente = 6 then
  49.               caricasezione(49, 56)
  50.             else
  51.               if gPaginaCorrente = 7 then
  52.                 caricasezione(57, 64)
  53.               end if
  54.             end if
  55.           end if
  56.         end if
  57.       end if
  58.     end if
  59.   end if
  60. end
  61.