I add an audio into flash for button toggle,like this picture,
In pc and Mac,i can listen the audio when button down.
But in the iOS(iphone、iPad),i can't listen the audio.
Can help me the question? thanks
Solved! Go to Solution.
Solved by adam.petrone. Go to Solution.
Hello wesleyhuang,
This is a bit of a problem on iOS. We haven't found a solution to this yet.
If you look in the debugging output when running, you'll probably see something similar to this, which is where it fails on init.
Error: FMOD error: (60) Error initializing output device. . No sound will be playing.
We'll have to resolve this in a future update.
As an alternative, you can forward events to Unity and trigger sounds there.
We had FLAs with audio on the timeline as well. We removed the audio. Set the export name in Flash. Then created a keyframe on the timeline
with a single line of AS3 code to start the sound.
If you label that keyframe and if you use a new layer then it is relative easy to see where the sounds are. This works on Android, you can keep the sound inside the SWF so you don't have to load it from SWF (as MP3) or by Unity.