Hi,
I have linked a sound file to my flash movie, and have finally learnt how to make it turn on and off but i cant seem to make the sound loop, it only plays for a little bit then stops. what do i need to do to make it continous looping??
Thnk
Hello!
The sound is playing till the end and stops?
If so you will add 999 in the Loop box from the properties panel(or how many times do you want your sound to be looped) and in the "Sync" combobox you will choose event. Regards,
Dragos.
Drago, thanks for the advice. But it didnt work. I have linked the sound file via action scripting - not from the properties box. i have included the A/S for to u see, is there anyway that i am able to make it loop form the script??
Thnx
s = new Sound();
s.attachSound("myMuzak"
i=1;
function timeme (){
now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds();
_root["nowtime"+i] = (Number(hours)*3600)+(Number(minutes)*60)+seconds;
_root.newstarttime = _root["nowtime"+i] - _root.nowtime1;
i++;
}
s.start();
timeme();
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.