home *** CD-ROM | disk | FTP | other *** search
- property pID
-
- on getPropertyDescriptionList
- propertyDescriptionList = [#pID: [#comment: "ID Area Sensibile (Nord = 1, Sud = 3)", #format: #integer, #default: 1]]
- return propertyDescriptionList
- end
-
- on mouseDown me
- case pID of
- 1:
- if the top of sprite 1 < -12 then
- set the locV of sprite 1 to the locV of sprite 1 + 10
- repeat while the stillDown
- tmp = sprite(1).top
- if tmp < 5 then
- set the locV of sprite 1 to the locV of sprite 1 + 10
- updateStage()
- end if
- end repeat
- else
- sprite(1).locV = 8
- end if
- updateStage()
- 3:
- tmp = sprite(1).bottom
- if tmp > 570 then
- set the locV of sprite 1 to the locV of sprite 1 - 10
- repeat while the stillDown
- tmp = sprite(1).bottom
- if tmp > 575 then
- set the locV of sprite 1 to the locV of sprite 1 - 10
- updateStage()
- end if
- end repeat
- else
- end if
- updateStage()
- end case
- end
-