home *** CD-ROM | disk | FTP | other *** search
- on mouseEnter me
- spr = me.spriteNum
- nom = member(the member of sprite spr).name
- set the member of sprite spr to nom && "on"
- updateStage()
- end
-
- on mouseLeave me
- spr = me.spriteNum
- nom = word 1 of the name of member the member of sprite spr
- set the member of sprite spr to nom
- updateStage()
- end
-
- on mouseDown
- if member(the member of sprite 70).name contains "video" then
- else
- puppetSound("diapo")
- end if
- foto = word 1 of the name of member the member of sprite 70
- FotoOVideo = word 2 of the name of member the member of sprite 70
- numero = value(word 3 of the name of member the member of sprite 70)
- actual = the memberNum of sprite 70
- if word 1 of the name of member (actual + 1) = foto then
- set the ink of sprite 70 to 32
- repeat while the blend of sprite 70 > 0
- set the locH of sprite 36 to the locH of sprite 36 - 5
- set the blend of sprite 70 to the blend of sprite 70 - 10
- updateStage()
- end repeat
- set the member of sprite 70 to foto && FotoOVideo && numero + 1
- repeat while the blend of sprite 70 < 100
- set the locH of sprite 36 to the locH of sprite 36 + 5
- set the blend of sprite 70 to the blend of sprite 70 + 10
- updateStage()
- end repeat
- set the ink of sprite 70 to 0
- updateStage()
- end if
- end
-