pygame.mixer.quit() what is this line for? It may cause problems. Also are
you initializing pygame? try this:
def movieu(self):
mov_name = "video.mpg"
pygame.init()
screen = pygame.display.set_mode((320, 240))
video = pygame.movie.Movie(mov_name)
screen = pygame.display.set_mode(video.get_size())
video.play()
while video.get_busy():
for event in pygame.event.get():
if event.type == pygame.QUIT:
break
pygame.quit() #uninitializes pygame modules.
sys.exit() #you should usually call this after pygame.quit() so the
program quits. Otherwise errors can occur :O
On Tue, May 20, 2008 at 7:37 PM, <[EMAIL PROTECTED]> wrote:
> Hey i used this code as suggested for my scissors paper rock movie
>
> def movieu(self):
> mov_name = "video.mpg"
> pygame.mixer.quit()
> screen = pygame.display.set_mode((320, 240))
> video = pygame.movie.Movie(mov_name)
> screen = pygame.display.set_mode(video.get_size())
> video.play()
> while video.get_busy():
> for event in pygame.event.get():
> if event.type == pygame.QUIT:
> break
> pygame.quit() #uninitializes pygame modules.
> sys.exit() #you should usually call this after pygame.quit() so the
> program quits. Otherwise errors can occur :O
> python.exe has encountered a problem and needs to close. We are sorry
> for the inconvenience
> is this the code or python or th computer
> Cherrs
> Nick Treloar
>
> ------------------------------
> This message is intended for the addressee named and may contain privileged
> information or confidential information or both. If you are not the intended
> recipient please delete it and notify the sender.
>
--
- pymike (http://pymike.aftermatheffect.com/)