home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 41 / MOBICLIC41.ISO / pc / Data / COMMUNS / AIDE.DIR / 00012_Script_roll-over < prev    next >
Text File  |  2001-11-15  |  485b  |  28 lines

  1. --RollOver par echange
  2. property numero, LaPiste, LeNom
  3. on beginSprite me
  4.   numero = me.spriteNum
  5.   LaPiste = sprite(numero)
  6.   LeNom = LaPiste.member.name
  7. end
  8. ------- 
  9. on MouseEnter
  10.   if the pauseState = 1 then exit
  11.   cursor 280
  12.   LaPiste.member = LeNom&"_Roll"
  13.   updateStage
  14. end
  15. -------
  16. on mouseLeave
  17.   if the pauseState = 1 then exit
  18.   cursor -1
  19.   puppetSprite numero,false
  20. end
  21.  
  22.  
  23. on mouseUp
  24.   if the pauseState = 1 then exit
  25.   sound close 3
  26.   go LeNom
  27. end 
  28.