home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 46 / Mobiclic46.iso / pc / DATA / Sommaire.dir / 00012_Script_GESTION_ERRATUM < prev    next >
Text File  |  2002-08-21  |  998b  |  41 lines

  1. property p_cettePiste, p_Nodepiste,p_nom_Acteur
  2. ----------------------------------
  3. on beginsprite me
  4.   p_Nodepiste = me.spriteNum
  5.   p_cettePiste = sprite(p_Nodepiste)
  6.   p_nom_Acteur = p_cettePiste.member.name
  7. end
  8. ----------------------------------- 
  9. on mouseEnter
  10.   if the pauseState = 1 then exit
  11.   cursor 280
  12.   p_cettePiste. member = p_nom_Acteur&"_R"
  13.   sprite(41).visible = true
  14.   sprite(39).visible = false
  15.   joueson"erratum"
  16.   updateStage
  17. end
  18. ----------------------------------- 
  19. on mouseWithin
  20.   if the pauseState = 1 then exit
  21.   cursor 280
  22. end
  23. ---------------------------------
  24. on mouseLeave
  25.   if the pauseState = 1 then exit
  26.   cursor -1
  27.   puppetsprite  p_Nodepiste , FALSE
  28.   sound close 3
  29.   sprite(41).visible = false
  30.   sprite(39).visible = true
  31. end
  32. ----------------------------------- 
  33. on mouseUp
  34.   if the pauseState = 1 then exit
  35.   RAZ_pistes_son()
  36.   coupeson(1)
  37.   coupeson(3)
  38.   go movie "@/CALEND/ERRATUM"
  39. end
  40. ----------------------------------- 
  41.