Copy link to clipboard
Copied
Hello,
I have a problem with an app on air for android.
When i export my app in windows, the sound works perfectly but when i install it on android device there is no sound...
I have embedded my sound in Library and export it for action script. The class name is JumpSound.
This is my script :
-------------------------------------------------------------------------------
var jumpSnd:JumpSound = new JumpSound();
MyButton.addEventListener(MouseEvent.CLICK,Jump);
function Jump(e:Event)
{
var channel:SoundChannel = jumpSnd.play();
}
-------------------------------------------------------------------------------
Thanks for your help !!
Hello,
Sorry, i have forgotten to answer.
Finally, this was a problem with compilation.
Thanks !!
Copy link to clipboard
Copied
I search your query no sound on Android on Google and get some results who is the benefit for you. i mention links below
Debug AIR apps on Android with Flash Builder 4 - Renaun Erickson | Renaun Erickson
Copy link to clipboard
Copied
Hello,
Sorry, i have forgotten to answer.
Finally, this was a problem with compilation.
Thanks !!