Hey i've been trying to get music in a loop to work but somehow it won't :(
i've imported the music as a .wav and added an audio thingy to my project.
i then created these events:
on start of layout -> audio play neon theme (my track)
audio set "" looping
this should theoretically be enough but even when i use a tag for my music file it won't work...
here's my test .capx:
Which browser are you using? Not all browsers support looping. Does it work in any other browsers?
Develop games in your browser. Powerful, performant & highly capable.
Well i only have the latest Firefox installed...
Pretty lame if a simple thing like a music loop doesn't work in every browser :(
The Audio-object doesn't even have events so i could manually check via events if the track has finished playing :/
Well "fixed" it myself through events but i still think the audio object should handle this like in CC
Here's my fixed capx:
I am trying to loop music as well and having trouble, the cap file you linked is no longer posted, so could you let me know how you got it to work?
This method for looping sounds works, dont know about music though?
<img src="http://dl.dropbox.com/u/22173473/loopsound.png" border="0" />
(my sound is 4 second's long)
I have never used music, but it can't be that different?
Same problem here but only in Firefox, looping works perfectly in Chrome and IE 9
qster: Firefox 11 supports looping, out in a few weeks.
Cool topic. It Solves my problems ^^