Whenever I try to get my code to play a movie it plays the audio but does not show any of the frames of the movie, does anyone know why or have a fix?
Include "cwint.bb" Cls movie = OpenMovie("cut\teaser.wmv") If movie=0 Then RuntimeError "Error - Movie not loaded!" If Not(MoviePlaying(movie)) Then RuntimeError "Error - Movie not playing!" w=MovieWidth(movie) h=MovieHeight(movie) x=(WIDTH-w)/2 y=(HEIGHT-h-100)/2 Repeat DrawMovie movie,x,y,w,h Cls Flip Until KeyHit(1) CloseMovie movie