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 pause the video.",CENTER,10)
keyboard.wait ()
text.display ("Press a key to resume the video.",CENTER,10)
video.pause (@video)
keyboard.wait ()
text.display ("Press a key to exit.",CENTER,350)
video.resume (@video)
keyboard.wait ()
script.stop ()