Navigational Phase

Ok, I’ve successfully added and played the movie texture. Then I added

add// Load the level named “Maze”.
Application.LoadLevel (“Maze”);

to add the next level. It cuts to the Maze level after flashing a few frames of the movie texture. I’d like it to go to the next level after the movie stop or if the player hits the space bar. In my limited Javascript experience I envision a …OnStop go to Maze , or If movieTexture stop, then goTo Maze…line of code. I couldn’t find it in the API list. What would be the proper syntax to make this happen?

Thanks in anticipation…

Digital D

This should work (not tested though, I don’t have Pro).

while( movie.isPlaying ) yield;
Application.LoadLevel( "Maze" );