Hi!
Use
media_play(string,bmap,volume).
Read the manual for using it.
Example:
Code:
function main{
var lv_hdl;
video_switch(8,32,1); // set videomode
lv_hdl = media_play("movie.avi",null,100); // play movie in fullscreen
while(media_playing(lv_hdl)==on && key_pressed(1)==off){wait(1);} // wait or break
media_stop(lv_hdl);
level_load(...);
...
}
~ not tested! ~
mercuryus