home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global altezza, larghezza, messi3, DOVE
- if (larghezza < 99) or (larghezza > 444) or (altezza < 78) or (altezza > 342) then
- if (larghezza > 454) and (larghezza < 630) and (altezza > 377) and (altezza < 482) then
- set the visible of sprite 48 to 0
- Buttare()
- set c to getPos(messi3, 48)
- if c <> 0 then
- deleteAt(messi3, c)
- end if
- set the loc of sprite 48 to point(536, 197)
- else
- set the loc of sprite 48 to DOVE
- if getPos(messi3, 48) = 0 then
- append(messi3, 48)
- end if
- end if
- else
- if getPos(messi3, 48) = 0 then
- append(messi3, 48)
- 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 48
- end
-