home *** CD-ROM | disk | FTP | other *** search
- property pID
-
- on getPropertyDescriptionList
- propertyDescriptionList = [#pID: [#comment: "ID Area Sensibile (Nord = 1, Est = 2, Sud = 3, Ovest = 4)", #format: #integer, #default: 1]]
- return propertyDescriptionList
- end
-
- on mouseWithin me
- case pID of
- 1:
- if the top of sprite 10 < -10 then
- cursor([92, 93])
- set the locV of sprite 10 to the locV of sprite 10 + 5
- else
- cursor([104, 93])
- end if
- updateStage()
- 2:
- if the left of sprite 10 < -10 then
- cursor([94, 95])
- set the locH of sprite 10 to the locH of sprite 10 + 5
- else
- cursor([105, 95])
- end if
- updateStage()
- 3:
- if the bottom of sprite 10 > 490 then
- cursor([96, 97])
- set the locV of sprite 10 to the locV of sprite 10 - 5
- else
- cursor([106, 97])
- end if
- updateStage()
- 4:
- if the right of sprite 10 > 650 then
- cursor([98, 99])
- set the locH of sprite 10 to the locH of sprite 10 - 5
- else
- cursor([107, 99])
- end if
- updateStage()
- end case
- end
-
- on mouseLeave me
- cursor(-1)
- updateStage()
- end
-