home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global group, c_no, w_no, show
- if (show = 1) or (the text of cast "PICTname" = "- BLUE -") then
- exit
- end if
- puppetSound("ButtonSound")
- if button2(4, 4) = 1 then
- set group to chars(the text of cast "STK-4", 1, 4)
- set number to 0
- set number to number + (value(char 6 of the text of cast "STK-4") * 10)
- set number to number + value(char 7 of the text of cast "STK-4")
- if group = "COOL" then
- set c_no to number
- else
- if group = "WARM" then
- set w_no to number
- end if
- end if
- cursor(4)
- pict_load(number)
- readcat()
- cursor(-1)
- end if
- end
-