Page 1 of 1

Posted: Sat Sep 29, 2001 7:40 pm
by BackupUser
Restored from previous forum. Originally posted by Paul.

Hello Fred,

Is there any way to use the PlayMovie() command to display a movie on a graphic window??
I have tried but it shuts down the graphic window and plays the movie in its own Active Movie window.

Posted: Sat Sep 29, 2001 11:20 pm
by BackupUser
Restored from previous forum. Originally posted by fred.

What do you call 'Graphic Window' ? You can display movie on regular window (see MoviePlayer.pb) or on DirectX screen (passing ScreenID() instead of WindowID()).


Fred - AlphaSND

Posted: Sat Sep 29, 2001 11:59 pm
by BackupUser
Restored from previous forum. Originally posted by Paul.

And where exactly would I find the ScreenID() command in the documentation???
:)

Thanks Fred, that did the trick !!

Another question for ya...
Is there an easy way to get rid of the Windows title bar that arrears at the top of the DirectX screen?

I tried leaving the title field blank
OpenScreen(640, 480, 16, "")
but that doesn't help, the bar still appears.

Posted: Sun Sep 30, 2001 12:20 am
by BackupUser
Restored from previous forum. Originally posted by Paul.

One other question...
What is the point of specifying the movie number in:
PlayMovie(##,handle) ??

It always plays the last movie loaded, regardless of number.
Example:

LoadMovie(0,"test0.mpg")
LoadMovie(1,"test1.mpg")
LoadMovie(2,"test2.mpg")
PlayMovie(0,handle)

It will play the movie "test2.mpg" (last movie loaded)

If I use UseMovie(##) then the PlayMovie() it will play the movie specified in UseMovie()
Example:
UseMovie(1)
PlayMovie(0,handle)

It will play the movie "test1.mpg"

Posted: Sun Sep 30, 2001 11:45 am
by BackupUser
Restored from previous forum. Originally posted by fred.
One other question...
What is the point of specifying the movie number in:
PlayMovie(##,handle) ??

It always plays the last movie loaded, regardless of number.
Example:

LoadMovie(0,"test0.mpg")
LoadMovie(1,"test1.mpg")
LoadMovie(2,"test2.mpg")
PlayMovie(0,handle)

It will play the movie "test2.mpg" (last movie loaded)

If I use UseMovie(##) then the PlayMovie() it will play the movie specified in UseMovie()
Example:
UseMovie(1)
PlayMovie(0,handle)

It will play the movie "test1.mpg"
Hum, you probably found a bug... I will fix it !

Fred - AlphaSND