I am new to flash, and made a movie. I inserted an MP3 to play while the movie loops, but instead when the movie reloads it loads the song again and i have 2 songs playing at different points. How do i keep the mp3 to play but have the movie loop?
lots of different easy ways, this is probably the easiest…
put it in its own movie, start them at the same time, tell the mp3 movie not to loop.
OR
if you are using attachSound to play it, then set a counter in the root to 0, and in the clip tell it to only play the mp3 if the counter == 0, then increment the counter on the last frame of the clip… like:
root, first frame:
_global.mp3Counter = 0;
first frame of clip
if(_global.mp3Counter == 0) {
attachSound(your mp3);
}
last frame of clip:
_global.mp3Counter++;
[center][r=#333333][size=6][color=white]WELCOME TO THE FORUM fatjean[/color][/size][/r]
[size=1][x]just cant wait to hear all the noobie questions from you
j/k ;)[/x][/size][/center]
How do i tell the mp3 not to loop?
stop();
:sigh: