Ralentissement application lors d'un touch event AS3 Air for Android
Hello,
I have a problem with development of a little game for Android with Animate CC.
I have a scrolling background with platforms and a button with "touch event". Every time i click on the button, the game become slow for 1 seconde even if the function 'touch event" is empty. This is just the touch which make the game slowly.
In PC the game works perfectly.
This is my script :
// Code pour le défilement du parcours
MyBackground.addEventListener(Event.ENTER_FRAME, defiler);
function defiler(e:Event)
{
MyBackground.x-=5;
}
// Code bu bouton
MyButton.addEventListener(TouchEvent.TOUCH_TAP,jump);
function jump(e:Event)
{
}
Thanks pour your help !
