This is supposed to be a very simple "Press Here and it makes a sound" app.
When I use Control>Test Movie > Debug Launcher Mobile > Touch and Gesture > Touch Layer ....it works perfectly.
But when I publish and export to windows installer...the button doesn't play the sound when touched.
Here is the code. Help please.
Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
//This variable keeps track of whether you want to play or stop the sound
var fl_ToPlay:Boolean = true;
var s:Sound = new Sound(new URLRequest("Belly.mp3"));
fl_SC = s.play();
fl_ToPlay = !fl_ToPlay;
use the debug>debug movie>debug on usb test option.
(p.s. make sure Belly.mp3 is in your 'included files' panel in the air for android/ios settings.)
That was it, the part about including the .mp3 file in the Publish window.
Thanks and Happy New Year.