home *** CD-ROM | disk | FTP | other *** search
- on ARTVideo
- global ARTVidList, ARTVidOne, ARTVidTwo, ARTCOUNTMOV
- repeat with a = 1 to count(ARTVidList)
- set WhichButtons to getAt(getAt(ARTVidList, a), 1)
- repeat with d = 1 to count(WhichButtons)
- if rollOver(getAt(WhichButtons, d)) then
- if (getAt(getAt(ARTVidList, a), 2) = 0) and (getAt(getAt(ARTVidList, a), 3) = 0) then
- repeat with c = 1 to count(WhichButtons)
- set the castNum of sprite getAt(WhichButtons, c) to the castNum of sprite getAt(WhichButtons, c) + 1
- end repeat
- updateStage()
- setAt(getAt(ARTVidList, a), 2, 1)
- end if
- if the mouseDown then
- repeat with x = 1 to count(ARTVidList)
- if x <> a then
- if getAt(getAt(ARTVidList, x), 3) = 1 then
- set WhichButtonsTwo to getAt(getAt(ARTVidList, x), 1)
- repeat with c = 1 to count(WhichButtonsTwo)
- set the castNum of sprite getAt(WhichButtonsTwo, c) to the castNum of sprite getAt(WhichButtonsTwo, c) - 1
- end repeat
- updateStage()
- setAt(getAt(ARTVidList, x), 3, 0)
- setAt(getAt(ARTVidList, x), 2, 0)
- end if
- end if
- end repeat
- setAt(getAt(ARTVidList, a), 3, 1)
- end if
- end if
- set NoLowlight to 0
- repeat with z = 1 to count(WhichButtons)
- if rollOver(getAt(WhichButtons, z)) then
- set NoLowlight to 1
- end if
- end repeat
- if NoLowlight = 0 then
- if (getAt(getAt(ARTVidList, a), 3) = 0) and (getAt(getAt(ARTVidList, a), 2) = 1) then
- repeat with c = 1 to count(WhichButtons)
- set the castNum of sprite getAt(WhichButtons, c) to the castNum of sprite getAt(WhichButtons, c) - 1
- end repeat
- updateStage()
- setAt(getAt(ARTVidList, a), 2, 0)
- end if
- end if
- end repeat
- if getAt(getAt(ARTVidList, a), 3) = 1 then
- if a = 1 then
- set the video of member "Bankreel" to 1
- set ARTCOUNTMOV to 0
- if the castNum of sprite 30 <> 274 then
- set the castNum of sprite 30 to 274
- set the locH of sprite 30 to 319
- set the locV of sprite 30 to 211
- end if
- updateStage()
- set the movieRate of sprite 30 to 1
- else
- if a = 2 then
- if ARTCOUNTMOV = 0 then
- set ARTCOUNTMOV to 1
- if the type of member the member of sprite 30 = #digitalVideo then
- set the movieRate of sprite 30 to 0
- set the video of member "Bankreel" to 0
- set the castNum of sprite 30 to 53
- updateStage()
- end if
- end if
- end if
- end if
- end if
- if (the mouseH > 581) and (the mouseH < 625) and (the mouseV > 80) and (the mouseV < 118) then
- if ARTVidOne = 0 then
- set ARTVidOne to 1
- set the castNum of sprite 48 to 301
- set the locH of sprite 48 to 200
- set the locV of sprite 48 to 400
- end if
- next repeat
- end if
- if ARTVidOne = 1 then
- set ARTVidOne to 0
- set the locH of sprite 48 to 2000
- end if
- end repeat
- end
-