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 40).name contains "video" then
- else
- puppetSound("diapo")
- end if
- foto = word 1 of the name of member the member of sprite 40
- numero = value(word 2 of the name of member the member of sprite 40)
- actual = the memberNum of sprite 40
- if word 1 of the name of member (actual - 1) = foto then
- set the ink of sprite 40 to 32
- repeat while the blend of sprite 40 > 0
- set the locH of sprite 36 to the locH of sprite 36 + 5
- set the blend of sprite 40 to the blend of sprite 40 - 10
- updateStage()
- end repeat
- set the member of sprite 40 to foto && numero - 1
- repeat while the blend of sprite 40 < 100
- set the locH of sprite 36 to the locH of sprite 36 - 5
- set the blend of sprite 40 to the blend of sprite 40 + 10
- updateStage()
- end repeat
- set the ink of sprite 40 to 0
- updateStage()
- end if
- end
-