# Play music in a loop once

**URL:** https://forum.kirupa.com/t/play-music-in-a-loop-once/257405
**Category:** Uncategorized
**Created:** [April 14, 2008, 12:19am UTC](https://forum.kirupa.com/t/play-music-in-a-loop-once/257405 "2008-04-14T00:19:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![vasheck](https://avatars.discourse-cdn.com/v4/letter/v/e79b87/32.png) [@vasheck](https://forum.kirupa.com/u/vasheck)
#### Post date: [April 14, 2008, 12:19am UTC](https://forum.kirupa.com/t/play-music-in-a-loop-once/257405/1 "2008-04-14T00:19:43Z")

</div>

Hi,

I’m struggling with playing a sound (song) in my flash file only once and having a loop.

I have a bunch of images in my file and I want to loop over and over but I want to play the song only once (and keep the images looping). Is there a way to do that (perhaps with actionscript )?

Thanks in advance!
