Pregunta

I'm trying to make a button in AS3.0, and I want it to be activated ON CLICK, not ON RELEASE..

For now I have used "MouseEvent.CLICK" and what it basically does is that it activates the button after I'm releasing/taking off the finger from mouse. And I want it to be activating when I'm pressing on it.

I need this for the application on Android, the thing is that when I touch the button on the screen, it's not reacting UNTIL I take off my finger.

Thanks a lot in advance!

¿Fue útil?

Solución

You need to use an event called MouseEvent.MOUSE_DOWN

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top