home *** CD-ROM | disk | FTP | other *** search
- on SHAREBUTTON n
- global i
- set j to i mod 4
- set k to i mod 2
- if rollOver(n) then
- puppetSprite(n, 1)
- set x to the castNum of sprite n
- if (x <= 753) and (750 <= x) then
- set the castNum of sprite n to the number of cast (750 + j)
- else
- if (x <= 757) and (754 <= x) then
- set the castNum of sprite n to the number of cast (754 + j)
- else
- if (x <= 761) and (758 <= x) then
- set the castNum of sprite n to the number of cast (758 + j)
- else
- if (x <= 765) and (762 <= x) then
- set the castNum of sprite n to the number of cast (762 + j)
- else
- if (x <= 773) and (767 <= x) then
- set the castNum of sprite n to the number of cast (x + 50)
- else
- if (x <= 823) and (817 <= x) then
- set the castNum of sprite n to the number of cast (x - 50)
- else
- if (x <= 775) and (774 <= x) then
- set the castNum of sprite n to the number of cast (774 + k)
- else
- if (x <= 777) and (776 <= x) then
- set the castNum of sprite n to the number of cast (776 + k)
- else
- if (x <= 779) and (778 <= x) then
- set the castNum of sprite n to the number of cast (778 + k)
- else
- if (x <= 781) and (780 <= x) then
- set the castNum of sprite n to the number of cast (780 + k)
- else
- if (x <= 783) and (782 <= x) then
- set the castNum of sprite n to the number of cast (782 + k)
- else
- if (x <= 808) and (807 <= x) then
- set the castNum of sprite n to the number of cast (807 + k)
- else
- if (x <= 811) and (810 <= x) then
- set the castNum of sprite n to the number of cast (810 + k)
- else
- if (x <= 816) and (813 <= x) then
- set the castNum of sprite n to the number of cast (813 + j)
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- else
- puppetSprite(n, 0)
- end if
- end
-