ME no understand loops, help

I cant figure out how to use actionscript loops to loop things, like sounds for example. Can someone show me how to create an infinit loop for a sound. If you can a step by step thing would be nice since i am a TOTAL newb at actionscript, i can do the other things in flash but the actionscript messes me up.

And for the loops, what frame do i put it in in the actionscript if i want to to go throught the entire scene?

come on someone take a stab at answering me

I’m sure there’s a ton of tutorials to do exactly this. Try and
search the forums here as well. I know you’ll find what you need,
because a tutorial is basically what you’re asking someone to type
all out for you. :wink:

when you say loop, do you mean “loop” or “enterframe”, if you have no idea what enterframe is, i suggest you look into ‘onClipEvent (enterFrame)’ this is probably the answer to your question, if you wish i can walk u through something

Yeah, by what you are saying, you want sound looping, not actionscript looping.

In that case… check this tutorial…

http://www.kirupa.com/developer/actionscript/sound.htm

Where it says “kirupaSound.start(0, 99);” change that to “kirupaSound.start();” (removing the 0, 99 part) being these are optional parameters. Read the tutorial to find out what they do.

Thanks for the info, but the tutorial showed me only how to make sound work on a button click, how do i make the sound work on the frame starting?

Put the code on a frame. And remove the on handler code (on (release) or whatever it uses)