Hi, I’m having a problem at the minute with getting a dynamically loaded .mp3 file to loop.
It just plays once and then stops!
Can anyone help please?
Thanks in advance
Tom
Hi, I’m having a problem at the minute with getting a dynamically loaded .mp3 file to loop.
It just plays once and then stops!
Can anyone help please?
Thanks in advance
Tom
here ya go, pardon the format of the post. this was soemthing i wrote to someone the other day with the same problem
ok well first off i appologize… i did some research. here is what i found.
yeah, when you’re loading sound and set streaming to true, you can’t control the start properties or delay properties (or scrubbing)… it’s the disadvantage of using streaming sound… it starts to play as soon as it has the appropriate amount of info…
i’d have to say that that is pretty gay. anyway here is a code that will work
ActionScript:--------------------------------------------------------------------------------loopSound = function () {
mySound.loadSound(“test.mp3”, true);
};
mySound = new Sound();
mySound.loadSound(“test.mp3”, true);
mySound.onSoundComplete = loopSound;
:: Copyright KIRUPA 2024 //--