home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global videoStart, videoEnd, cuelist, cuelist2, cueEnd
- cueStart = FindNextLabel()
- cuelist = (the member of sprite 20).cuePointNames
- cpName = getOne(cuelist, cueStart)
- cuelist2 = (the member of sprite 20).cuePointTimes
- videoStart = getAt(cuelist2, cpName)
- cueEnd = the frameLabel & "End"
- cpName = getOne(cuelist, cueEnd)
- videoEnd = getAt(cuelist2, cpName)
- videoEnd = videoEnd + 5
- sort(cuelist2)
- videoplaysegment(sprite(20), videoStart, videoEnd)
- videopause(sprite(20))
- videoseek(sprite(20), videoStart)
- videopause(sprite(20))
- videoplay(sprite(20))
- videopause(sprite(20))
- videoplay(sprite(20))
- repeat while sprite(20).mediaBusy = 0
- nothing()
- end repeat
- end
-