3 Replies Latest reply on Jan 1, 2016 7:38 PM by kglad

    App works in Control>TestMovie>DebugLauncherMobile but not in Mobile Device


      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;


      circle.addEventListener(TouchEvent.TOUCH_TAP, fl_ClickToPlayStopSound);


      var fl_SC:SoundChannel;


      //This variable keeps track of whether you want to play or stop the sound

      var fl_ToPlay:Boolean = true;


      function fl_ClickToPlayStopSound(evt:TouchEvent):void




        var s:Sound = new Sound(new URLRequest("Belly.mp3"));

        fl_SC = s.play();






        fl_ToPlay = !fl_ToPlay;