all groups > flash actionscript > october 2006 >
You're in the

flash actionscript

group:

Sound Loop Problem


Re: Sound Loop Problem violettemi
10/16/2006 12:51:10 PM
flash actionscript:
You can NOT loop streaming sounds
you must say :
my_sound.loadSound("music.mp3", false);


[quoted text, click to view]
Sound Loop Problem Essam Maccar
10/16/2006 9:42:39 PM
Dear Guys
i have this action on a button and i need the sound to loop but it is not
looping do you know what is the problem



on (release) {
var my_sound:Sound = new Sound();
my_sound.onLoad();
//.loadMovieNum("music.mp3",1);
my_sound.loadSound("music.mp3", true);
my_sound.setVolume(100);
my_sound.start(0,100);
_root.soundOn_mc._visible=false;
_root.soundOff_mc._visible=true;
}

AddThis Social Bookmark Button