handle dynamic WAV playing and MP3 seamless loop in flash