home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gBlinkCount, gLastMovieTime, gActiveBets, gLastTime
- repeat with i = 1 to 4
- if getOne(gActiveBets, wettnr(i)) > 0 then
- SpriteCursor(17 + i - 1, "Finger")
- set the visible of sprite (17 + i - 1) to 1
- next repeat
- end if
- SpriteCursor(17 + i - 1, 0)
- set the visible of sprite (17 + i - 1) to 0
- end repeat
- repeat with i = 34 to 35
- set the visible of sprite i to 0
- end repeat
- if the movieRate of sprite 36 = 0 then
- if rollOver(36) then
- if the movieTime of sprite 36 <> 4 then
- set the movieTime of sprite 36 to 5
- end if
- else
- if the movieTime of sprite 36 <> 0 then
- set the movieTime of sprite 36 to 1
- end if
- end if
- end if
- if (the movieRate of sprite 36 = 0) and the visible of sprite 36 then
- set gBlinkCount to gBlinkCount + 1
- if gBlinkCount > (the frameTempo / 3) then
- set gBlinkCount to 0
- set the visible of sprite 25 to not (the visible of sprite 25)
- end if
- end if
- if the movieRate of sprite 36 = 1 then
- if gLastMovieTime = the movieTime of sprite 36 then
- if the timer > (gLastTime + 60) then
- KickBetVideo()
- updateStage()
- SetBetVideo()
- updateStage()
- StopBetVideo()
- updateStage()
- set the visible of sprite 36 to 1
- end if
- else
- set gLastMovieTime to the movieTime of sprite 36
- set gLastTime to the timer
- end if
- end if
- set the visible of sprite 44 to 1
- set the visible of sprite 45 to 1
- set the visible of sprite 48 to 1
- set the visible of sprite 32 to 0
- go(the frame)
- end
-