screen.resolution.set (512,384)
screen.set (BACK)
pattern.display ("avo\bubble.gif")
screen.end ()
@video=video.display ("avo\video.mpg",CENTER,CENTER)
text.display ("Press a key to hide the video.",CENTER,10)
keyboard.wait ()
video.hide (@video,TRUE)
text.display ("Press a key to display the video.",CENTER,10)
keyboard.wait ()
video.hide (@video,FALSE)
text.display ("Press a key to exit.",CENTER,350)
keyboard.wait ()
script.stop ()