Movie Full screen
Posted: Sun Oct 19, 2003 3:44 am
can anyone give me code for full screen movie,
i got code from forum and been playing with it all night, i can't get it to work,
path$="D:\Soul Seek\The Simpsons"
file$="The Weed Homer.mpg"
#Screenwidth = 800
#Screenheight = 600
If InitSprite() And InitMovie() And InitKeyboard() And OpenScreen(#Screenwidth,#Screenheight,16,"Movie Screen")
Else
End
EndIf
;-PlayAvi
playavi :
FlipBuffers()
ClearScreen(0, 0, 0)
FlipBuffers()
If LoadMovie(0, path$ + file$)
ResizeMovie(0,0,#Screenwidth,#Screenheight)
ClearScreen(0, 0, 0)
Delay(1000)
PlayMovie(0, ScreenID())
Repeat
ExamineKeyboard()
Delay(1)
Until (MovieStatus()=MovieLength() - 2) Or KeyboardPushed(#PB_Key_Escape)
FreeMovie(0)
ClearScreen(0, 0, 0)
EndIf
anyone..
is there a fix for avi in window yet?
i got code from forum and been playing with it all night, i can't get it to work,
path$="D:\Soul Seek\The Simpsons"
file$="The Weed Homer.mpg"
#Screenwidth = 800
#Screenheight = 600
If InitSprite() And InitMovie() And InitKeyboard() And OpenScreen(#Screenwidth,#Screenheight,16,"Movie Screen")
Else
End
EndIf
;-PlayAvi
playavi :
FlipBuffers()
ClearScreen(0, 0, 0)
FlipBuffers()
If LoadMovie(0, path$ + file$)
ResizeMovie(0,0,#Screenwidth,#Screenheight)
ClearScreen(0, 0, 0)
Delay(1000)
PlayMovie(0, ScreenID())
Repeat
ExamineKeyboard()
Delay(1)
Until (MovieStatus()=MovieLength() - 2) Or KeyboardPushed(#PB_Key_Escape)
FreeMovie(0)
ClearScreen(0, 0, 0)
EndIf
anyone..
is there a fix for avi in window yet?