home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global altezza, larghezza, messi1, DOVE
- if (larghezza < 99) or (larghezza > 444) or (altezza < 78) or (altezza > 342) then
- if (larghezza > 17) and (larghezza < 204) and (altezza > 369) and (altezza < 480) then
- set the visible of sprite 14 to 0
- Buttare()
- set c to getPos(messi1, 14)
- if c <> 0 then
- deleteAt(messi1, c)
- end if
- set the loc of sprite 14 to point(536, 197)
- else
- set the loc of sprite 14 to DOVE
- if getPos(messi1, 14) = 0 then
- append(messi1, 14)
- end if
- end if
- else
- if getPos(messi1, 14) = 0 then
- append(messi1, 14)
- end if
- end if
- end
-
- on mouseDown
- global DOVE, larghezza, altezza
- set larghezza to the mouseH
- set altezza to the mouseV
- set DOVE to the loc of sprite 14
- end
-