home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global nagyito, animsprite
- set x to the mouseH
- set y to the mouseV
- set ax to the locH of sprite animsprite
- set ay to the locV of sprite animsprite
- if (abs(ax - x) < 100) and (abs(ay - y) < 100) then
- nagyitorabok()
- else
- set nagyito to 0
- sound stop 1
- end if
- end
-
- on enterFrame
- NagyitoKezel()
- end
-
- on exitFrame
- HotspotKezel()
- go(the frame)
- end
-