home *** CD-ROM | disk | FTP | other *** search
- on endSprite me
- if soundBusy(1) then
- puppetSound(1, 0)
- end if
- end
-
- on mouseEnter me
- tmp = the member of sprite the currentSpriteNum
- nome = member(tmp).name
- if nome <> "TastiOpere5_F3" then
- cursor(280)
- set the member of sprite the currentSpriteNum to "TastiOpere5_F2"
- updateStage()
- end if
- end
-
- on mouseDown me
- tmp = the member of sprite the currentSpriteNum
- nome = member(tmp).name
- if nome <> "TastiOpere5_F3" then
- set the member of sprite the currentSpriteNum to "TastiOpere5_F3"
- updateStage()
- end if
- end
-
- on mouseLeave me
- tmp = the member of sprite the currentSpriteNum
- nome = member(tmp).name
- if nome <> "TastiOpere5_F3" then
- cursor(-1)
- set the member of sprite the currentSpriteNum to "TastiOpere5"
- updateStage()
- end if
- end
-
- on mouseUpOutSide me
- tmp = the member of sprite the currentSpriteNum
- nome = member(tmp).name
- if nome = "TastiOpere5_F3" then
- set the member of sprite the currentSpriteNum to "TastiOpere5"
- updateStage()
- end if
- end
-
- on mouseUp me
- global gpittore, gQuadro, gSuonoAttivo, riattivagSuonoAttivo
- cursor(-1)
- suono = gpittore & gQuadro & "s"
- if soundBusy(1) then
- exit
- end if
- go("scheda")
- puppetSound(3, 0)
- if gSuonoAttivo = 1 then
- gSuonoAttivo = 0
- riattivagSuonoAttivo = 1
- else
- riattivagSuonoAttivo = 0
- end if
- if the number of member suono = -1 then
- puppetSound(1, member("bling", "common"))
- else
- puppetSound(1, member(suono))
- end if
- end
-
- on exitFrame
- if (soundBusy(1) = 0) and (sprite(the currentSpriteNum).member.name = "TastiOpere5_F3") and (the mouseDown = 0) then
- sprite(the currentSpriteNum).member = "TastiOpere5"
- end if
- if soundBusy(1) = 1 then
- sprite(the currentSpriteNum).member = "TastiOpere5_F3"
- end if
- end
-