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 45 to 0
- Buttare()
- set c to getPos(messi3, 45)
- if c <> 0 then
- deleteAt(messi3, c)
- end if
- set the loc of sprite 45 to point(536, 197)
- else
- set the loc of sprite 45 to DOVE
- if getPos(messi3, 45) = 0 then
- append(messi3, 45)
- end if
- end if
- else
- if getPos(messi3, 45) = 0 then
- append(messi3, 45)
- 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 45
- end
-