Object response is not in the same time as the object been hit
Hi there, Im Paul from Malaysia. Currently i am creating an music instrument mobile app by using Adobe Flash CS6, using actionscript 3.0. In my app, there is an object that i need it to response as a button, once the object been hit(tap), the object can immediately release sound. I found this coding and i used it :
Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
sound_btn.addEventListener(TouchEvent.TOUCH_TAP, f24_TapHandler);
function f24_TapHandler(event:TouchEvent):void
{
var drum:MySound3 = new MySound3();
var channel:SoundChannel = drum.play();
}
I had rendered swf to test the app and the object did response, but i found that the response quite slow as when i hit on the object, the object did not release sound at the same time. I thought it will be fine if test in mobile device, so i publish it to apk file and tested on my phone. Though the app can be function, but the same issue occur, and it much more slower than tested on my laptop. Is there any solution on this? Just one more step before the app complete, i hope i can made this stuff up. Thanks a lot.
