|
-
M.D.
[AS3] fix for SoundComplete?
anyone know of a fix for the dreaded Event.SOUND_COMPLETE in AS3?
looping a sound seamlessly will not work with this event.
the only other way I could see is using a timer or enterFrame, and figuring out the change in position over the sounds duration, and using that to play the sound again, something like:
var magicNumber = ?
var seamlessEnd = sound.duration - magicNumber;
timer.delay = seamlessEnd;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|