Umm I wouldn't be able to help you very much without being able to
execute your source but try this ugly hack and tell me what happens.
1)Create a boolean
Boolean FirstMovieDone = False
2)Play First movie
3) Set FirstMovieDone = True
4)Now in Window1.Open event write this code
If FirstMovieDone Then
MoviePlayer1.Top = - MoviePlayer1.Height
MoviePlayer2.Left = - MoviePlayer1.Width
End If
Essentially this moves the first movie player off the screen. That will
tell you it is getting in the way of the second movie. Then you know
it's a control placement issue. If the second movie player still plays
your first movie then go back and take a closer look at your code. I
hope this helps.
-Tussey
On Nov 18, 2003, at 11:36 AM, Mark Lawrimore wrote:
I am trying to play two different QuickTime movies in my game. The
first one plays like it is suppose to and then stops and disappears.
However, when I open a new Window with a new QT movie player, instead
of playing the second movie, the first one plays again.
Properties of the two MoviePlayers:
MoviePlayer1
(Left, Top, Width, Height all have values)
ControlOrder: 1
Visible (check)
Movie: Intro
Controller: 0-None
MoviePlayer2
(again, has screen position values)
ControlOrder: 1
Visible (check)
Movie: message
Controller: 0-None
When the game starts, Window1 appears with MoviePlayer1 and works fine:
Window1.PushButton1.Action:
Sub Action()
MoviePlayer1.stop // stop first movie when pushbutton1 is pressed
Game=5 // set to five for debugging purposes
Do Until Game>4
SpriteSurface1.run
// also changes sprite images and variables, etc ...
Loop
Window4.ShowModal // Display window containing MoviePlayer2 // WHY
DOES THE FIIRST ANIMATION PLAY AGAIN ????
I have played around with this all afternoon yesterday, changing the
MoviePlayer values and things, but I have run out of ideas :)
Mark
marklawrimore at earthlink dot net
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|