home *** CD-ROM | disk | FTP | other *** search
- global gMovie, finestra, gDVisPlaying
-
- on mouseEnter me
- tell window(finestra)
- tmp = the frame
- end tell
- if (gMovie = "studi") and (tmp > 2) then
- exit
- end if
- cursor(280)
- set the member of sprite the currentSpriteNum to member("Audio_F3")
- end
-
- on mouseDown me
- tell window(finestra)
- tmp = the frame
- end tell
- if (gMovie = "studi") and (tmp > 2) then
- exit
- end if
- cursor(280)
- set the member of sprite the currentSpriteNum to member("Audio_F2")
- end
-
- on mouseLeave me
- global gSuonoAttivo, riattivagSuonoAttivo
- tell window(finestra)
- tmp = the frame
- end tell
- if (gMovie = "studi") and (tmp > 2) then
- exit
- end if
- cursor(-1)
- if gSuonoAttivo = 1 then
- set the member of sprite the currentSpriteNum to member("Audio")
- else
- set the member of sprite the currentSpriteNum to member("Audio_F4")
- end if
- end
-
- on mouseUp me
- global gSuonoAttivo, riattivagSuonoAttivo
- tell window(finestra)
- tmp = the frame
- end tell
- if (gMovie = "studi") and (tmp > 2) then
- exit
- end if
- cursor(-1)
- if gSuonoAttivo = 1 then
- gSuonoAttivo = 0
- riattivagSuonoAttivo = 0
- sound stop 3
- set the member of sprite the currentSpriteNum to member("Audio_F4")
- else
- if (gSuonoAttivo = 0) and not gDVisPlaying then
- gSuonoAttivo = 1
- set the member of sprite the currentSpriteNum to member("Audio")
- else
- if (gSuonoAttivo = 0) and gDVisPlaying then
- set the member of sprite the currentSpriteNum to member("Audio_F4")
- end if
- end if
- end if
- end
-