I had to comment this out to prevent crashing in Button.hx on an Android samsung phone.
//#if mobile
// this.addEventListener(flash.events.TouchEvent.TOUCH_OUT, Button._onHout);
// this.addEventListener(flash.events.TouchEvent.TOUCH_OUT, Button._onRelease);
//#end
Not sure about IOS and other device types. Are the TouchEvents really needed? It seems to work fine (and in fact less buggy) without the TouchEvents.
I had to comment this out to prevent crashing in Button.hx on an Android samsung phone.
Not sure about IOS and other device types. Are the TouchEvents really needed? It seems to work fine (and in fact less buggy) without the TouchEvents.