changing value by sliding finger on screen?

I would like to increase and decrease a numeric value by sliding 1 finger up and down on the screen within a specified zone on the screen. I have no idea where to look how to do that and pointers are very much appreciated. [import]uid: 109677 topic_id: 22950 reply_id: 322950[/import]

Hi Une,

You should use the touch event. Have a look over here:
http://developer.anscamobile.com/reference/index/events/touch

The event phase you should use is ‘moved’.
the x, y coordinates of the touch event can be retrieved with event.x and event.y. This can be compared (if statement) with the x,y values of you specific zone on the screen.

Hope this helps!

Ivo [import]uid: 106768 topic_id: 22950 reply_id: 91690[/import]