Animation events not supported in flash version?

Hello, I’m trying to build a swf from unity and It says “AnimationEvents are currently not supported on FlashPlayer” has anyone found a work around for this?

Thanks

I have found the same problem.

Since I was calling the animation from a coroutine with yield statements for timing, I will have to include those events in the coroutine as well.

This way you can, from code, play the animation, wait X seconds with yield, then start the function you want.

Had the same problem, had to use a IEnumerator coroutine with the yield statement to play the sound of the animation at the start.

So instead of XXXX.animation.play();

You can use: `StartCoroutine(“animacionSalida”);

IEnumerator animacionSalida(){
	m_ShipPlatform.animation.Play("salirHangar");
	yield return new WaitForSeconds(2.0F);
		m_ShipPlatform.audio.Play();
}`