home *** CD-ROM | disk | FTP | other *** search
- property pCastORIG, pCastFB1, pDirezione
-
- on getPropertyDescriptionList
- pippo = the memberNum of sprite the currentSpriteNum
- pluto = pippo + 1
- paperino = pluto + 1
- propertyDescriptionList = [#pCastORIG: [#comment: "Numero elemento del Cast di origine del bottone", #format: #integer, #default: pippo], #pCastFB1: [#comment: "Numero elemento del Cast del primo feedback", #format: #integer, #default: pluto], #pDirezione: [#comment: "Direzione", #format: #integer, #default: "1", #range: [-1, 1]]]
- return propertyDescriptionList
- end
-
- on mouseWithin me
- tmp = sprite(the currentSpriteNum).member
- nome = member(tmp).name
- if nome contains "f3" then
- exit
- else
- set the memberNum of sprite the currentSpriteNum to pCastFB1
- cursor(280)
- end if
- end
-
- on mouseLeave me
- tmp = sprite(the currentSpriteNum).member
- nome = member(tmp).name
- if nome contains "f3" then
- exit
- else
- set the memberNum of sprite the currentSpriteNum to pCastORIG
- cursor(-1)
- end if
- end
-
- on mouseDown me
- tmp = sprite(the currentSpriteNum).member
- nome = member(tmp).name
- if nome contains "f3" then
- exit
- else
- cursor(280)
- scrolla(pDirezione)
- end if
- end
-
- on mouseUp me
- end
-