home *** CD-ROM | disk | FTP | other *** search
/ Galleria D'arte: Manet / Manet.iso / Dati / Main.dxr / 00020_slideshowtasto.ls < prev    next >
Encoding:
Text File  |  2000-12-21  |  1.7 KB  |  65 lines

  1. property pCastORIG, pCastFB1
  2. global finestra, gMovie
  3.  
  4. on getPropertyDescriptionList
  5.   pippo = the memberNum of sprite the currentSpriteNum
  6.   pluto = pippo + 1
  7.   paperino = pippo + 2
  8.   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]]
  9.   return propertyDescriptionList
  10. end
  11.  
  12. on mouseEnter me
  13.   if sprite(the currentSpriteNum).member.name = "Proiett_F3" then
  14.     exit
  15.   end if
  16.   set the memberNum of sprite the currentSpriteNum to pCastFB1
  17.   cursor(280)
  18.   updateStage()
  19. end
  20.  
  21. on mouseLeave me
  22.   if sprite(the currentSpriteNum).member.name = "Proiett_F3" then
  23.     exit
  24.   end if
  25.   set the memberNum of sprite the currentSpriteNum to pCastORIG
  26.   cursor(-1)
  27.   updateStage()
  28. end
  29.  
  30. on mouseDown me
  31.   if sprite(the currentSpriteNum).member.name = "Proiett_F3" then
  32.     exit
  33.   end if
  34.   cursor(280)
  35.   updateStage()
  36. end
  37.  
  38. on mouseUp me
  39.   if sprite(the currentSpriteNum).member.name = "Proiett_F3" then
  40.     exit
  41.   end if
  42.   set the memberNum of sprite the currentSpriteNum to pCastORIG
  43.   cursor(-1)
  44.   vecchia = gMovie
  45.   finestra = "slideshow"
  46.   if vecchia = finestra then
  47.     exit
  48.   end if
  49.   unLoad()
  50.   the windowList = []
  51.   window(finestra).windowType = 2
  52.   window(finestra).rect = rect(the stageLeft + 76, the stageTop + 60, the stageLeft + 716, the stageTop + 540)
  53.   open(window(finestra))
  54. end
  55.  
  56. on exitFrame me
  57.   if gMovie = "slideshow" then
  58.     sprite(the currentSpriteNum).member = "Proiett_F3"
  59.   else
  60.     if the rollOver <> 21 then
  61.       sprite(the currentSpriteNum).member = "Proiett"
  62.     end if
  63.   end if
  64. end
  65.