home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gstp
- set gstp to 0
- cursor([5, 6])
- set the volume of sound 2 to 256
- end
-
- on stopMovie
- global gsnd, gdep, gstp
- if gstp = 0 then
- set the soundLevel to gsnd
- if the machineType <> 256 then
- set the colorDepth to gdep
- end if
- end if
- end
-
- on exith
- end
-
- on exith2
- set the mouseDownScript to EMPTY
- cursor([5, 6])
- set the volume of sound 2 to 256
- if the frame < label("p2") then
- go("end1")
- else
- go("end2")
- end if
- abort()
- end
-
- on curh
- global gnum1
- set gnum1 to gnum1 * -1
- if gnum1 = 1 then
- cursor([1, 2])
- else
- cursor([3, 4])
- end if
- end
-
- on waith num
- global gflag1
- set gflag1 to 1
- repeat while gflag1 <> num
- if the timer > 5 then
- moveh()
- end if
- if the mouseDown then
- exith()
- end if
- end repeat
- end
-
- on moveh
- global gtime1, gflag1
- if gtime1 = 24 then
- set gtime1 to 1
- else
- set gtime1 to gtime1 + 1
- end if
- if (gtime1 mod 12) = 0 then
- curh()
- end if
- if (gtime1 mod 3) = 0 then
- set gflag1 to gflag1 + 1
- end if
- startTimer()
- end
-