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

  1. property pCastORIG, pCastFB1
  2. global finestra, gElencoOpere, keyword, gWWW, 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 = "Ricerca_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 = "Ricerca_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 = "Ricerca_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 = "Ricerca_F3" then
  40.     exit
  41.   end if
  42.   set the memberNum of sprite the currentSpriteNum to pCastORIG
  43.   gWWW = 0
  44.   cursor(-1)
  45.   vecchia = gMovie
  46.   finestra = "ricerca"
  47.   if vecchia = finestra then
  48.     exit
  49.   end if
  50.   keyword = 0
  51.   gElencoOpere = 0
  52.   unLoad()
  53.   the windowList = []
  54.   window(finestra).windowType = 2
  55.   window(finestra).rect = rect(the stageLeft + 76, the stageTop + 60, the stageLeft + 716, the stageTop + 540)
  56.   open(window(finestra))
  57. end
  58.  
  59. on exitFrame me
  60.   if gMovie = "ricerca" then
  61.     sprite(the currentSpriteNum).member = "Ricerca_F3"
  62.   else
  63.     if the rollOver <> the currentSpriteNum then
  64.       sprite(the currentSpriteNum).member = "Ricerca"
  65.     end if
  66.   end if
  67. end
  68.