home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global opcao, linha, coluna, quav, quah, desenho, fliphor, fliver, barratexto
- repeat with i = 0 to 4
- set the editableText of sprite ((i * 2) + 39) to 0
- end repeat
- if barratexto = 99 then
- voltatexto()
- end if
- set fliphor to 0
- set flipver to 0
- set mv to the mouseV
- set mh to the mouseH
- if mh < 46 then
- set opcao to 1
- end if
- if (mh > 55) and (mh < 90) then
- set opcao to 2
- end if
- if (mh > 99) and (mh < 134) then
- set opcao to 3
- end if
- if mh > 143 then
- set opcao to 4
- end if
- set the castNum of sprite 3 to opcao + 3 + ((desenho - 1) * 4)
- set the castNum of sprite 4 to 28 + ((opcao - 1) * 15) + ((desenho - 1) * 78)
- set linha to 1
- set coluna to 1
- set quav to 236
- set quah to 280
- set the locV of sprite 5 to quah
- puppetSound("botao")
- updateStage()
- set the locH of sprite 5 to quav
- end
-