Highlighted

No Sound On Android - Air For Android App

Explorer ,
Jul 05, 2017

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 !!

TOPICS
Development

Views

528

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

No Sound On Android - Air For Android App

Explorer ,
Jul 05, 2017

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 !!

TOPICS
Development

Views

529

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 05, 2017 0
New Here ,
Jul 06, 2017

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

Solved: No sound when playing - The Spotify Community

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 06, 2017 0
Explorer ,
Oct 05, 2017

Copy link to clipboard

Copied

Hello,

Sorry, i have forgotten to answer.

Finally, this was a problem with compilation.

Thanks !!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 05, 2017 0