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

this is the peice of code i am using to run a movie in my scissors paper rock 
game so when rock beats scissors a movie will play. i can get the movie to play 
but i would like to no if i can make the window destroy once the movie has 
stoped

________________________________
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.

Reply via email to