home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global theSection, theSectionT, theSLine, lineheight, spHoriz, spVert, col1amount, col2amount, col1width, col2width
- set mh to the mouseH
- set mv to the mouseV
- if (mv - spVert) < 0 then
- clearLists()
- else
- if (the name of cast the castNum of sprite 40 = "blanker") or (the name of cast the castNum of sprite 40 = "introButt3") then
- set the castNum of sprite 40 to cast "introButt3"
- else
- set the castNum of sprite 40 to cast "introButt2"
- end if
- if (mh - spHoriz) < col1width then
- set theSLine to abs((mv + 10 - spVert) / lineheight)
- set theSectionT to theSLine
- if (theSLine > 0) and (theSLine <= col1amount) then
- set the locH of sprite 43 to spHoriz
- set the width of sprite 43 to col1width
- doSet(theSectionT, theSLine, spVert)
- end if
- end if
- if ((mh - spHoriz) > col1width) and ((mh - spHoriz) < (col1width + col2width)) then
- set theSLine to abs((mv + 10 - spVert) / lineheight)
- set theSectionT to theSLine + col1amount
- if (theSLine > 0) and (theSLine <= col2amount) then
- set the locH of sprite 43 to spHoriz + col1width
- set the width of sprite 43 to col2width
- doSet(theSectionT, theSLine, spVert)
- end if
- end if
- end if
- end
-