home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global bit, m_item, 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 number to 0
- set fword to getAt(m_item, 1)
- set number to number + (value(char 1 of fword) * 10)
- set number to number + value(char 2 of fword)
- 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)
- cursor(-1)
- end if
- end
-