MrLoick / flixel-android

Automatically exported from code.google.com/p/flixel-android
Other
0 stars 0 forks source link

FlxButton doesn't play sounds #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a FlxButton and add it to the state.
2. Assign a sound to soundUp.
3. Click the button.

What is the expected output? What do you see instead?
Expected output: The button plays a sound.
Actual output: No sound is played.

Please use labels and text to provide additional information.
The setSounds() method of FlxButton also needs to be implemented.

Original issue reported on code.google.com by TSWes...@gmail.com on 24 Mar 2012 at 3:44

GoogleCodeExporter commented 8 years ago
added the required method and if statements in r29.
However the sounds won't play on the phone. The error is:
error loading org/flixel/data/flixel.ogg
It uses the Gdx.files.classpath

The music uses the internal which does play.

See the example in AudioDemo.  Hover over/click the stop button.

Original comment by kawingc...@gmail.com on 26 Mar 2012 at 6:43

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r33.

Original comment by TSWes...@gmail.com on 29 Mar 2012 at 10:25