Sound looping question

whats the actionscript code to tell a .mp3 to loop infinite times?

i want it to load and to loop infinite times

I think you can only loop it up to 99 times or something.

i don’t know if what lost stated is true or not but maybe …

mySound.onSoundComplete = function () {
	mySound.start();
}

I don’t know if what I said is true either :-…LOL.

lol … i’ll tell you then :wink:

it works :beam:

Hmm, I coulda swore there was no infinite way, because don’t you have to add parameters to the start()?

start(offset, loop#) ???

And I am not sure it only goes up to 99, you might be able to go past that, but looping infinitely I am not sure of.

both secondoffset and loop are optional parameters :slight_smile:

Ok. Can you tell I never work with the sound object :sleep:

ehmm … me neither :stuck_out_tongue:

but i like to open the as dictionary every now and then … =)

Yeah me too, but the problem with that is a blew a ram chip today somehow and my comp is being retarded.

You try running a pc on 96mb of ram :-\ So I have been trying to avoid opening anything that doesn’t need to be open while I am using the computer.

ok , thanks for the help now i have a question regarding the sound stuff… goto

www.autodaze.com

its my first website so please :slight_smile: go easy :slight_smile:

see how there is a choose a tune?
(another flash movie)

and u here people talking in the background why is it when i click stop (its a hidden flash movie)

why is it when i click on the STOP the crowd also stops

for the choose a tune im using thise code


mySound = new Sound();
mySound1 = new Sound();
mySound2 = new Sound();
mySound3 = new Sound();
mySound4 = new Sound();
mySound5 = new Sound();
mySound6 = new Sound();
mySound7 = new Sound();

heres the one for the STOP button


on(press) {
if (playing==true) {
playing=false;

mySound.stop()
mySound1.stop()
mySound2.stop()
mySound3.stop()
mySound4.stop()
mySound5.stop()
mySound6.stop()
mySound7.stop()
}
}

the way i loaded the crowd is the original clicking the frame and inserting it. any suggestions??

i clicked the stop button like one million times and the crowd never stopped :crazy:

posted by lostinbeta

You try running a pc on 96mb of ram :-\ …

:-\ … i feel for you :frowning:

well click on a song and then click on the stop itll stop!! watch!! :cyclops:

oh … sorry :slight_smile:

honestly … i have no idea :stuck_out_tongue:

what’s the code for the sound in the main swf ??

there is no code, i just clicked on the frame and inserted it.

:-\

then again … no idea :frowning:

… someone will come to the rescue [size=1]i hope[/size] :wink:

:hangover: :skull: man i sure someone come helps me soon!! :slight_smile:

:q: :q: :q: any takers??

HEEEEEEEEEEEEEEEEEEEEEELP MEEEEEEEEE PLEAAAAAAAAASE!!