Setting Sounds to Loop with AS

I’m planning to implement as sound that will simply play in the background of my site. The sound file is just under 30 seconds in length. Obviously I want this to loop … can I set it to do so using ActionScript? If so, would you mind providing me with some sample code?

Thanks in advance for you help.