i add this script

String Intro_vid = <start1.avi>;
String Intro = <Urinary_bladder.wmb>;

function main()
{
wait(1);
media_play("start1.avi",null,100);
while(media_playing(media_handle))
{ if(key_space) { media_stop(media_handle); } wait(1); }
wait(1);
level_load(Intro);
wait(1);

when i run it. the movie doesn't play, the screen is black but when i push space bar. movie's stop and game load normally. what's wrong with my code or movie??

My movie is .avi and i use 3dgs a6 pro