Thursday, January 1, 2015

Change a variable by dragging an image

I have an image called imgMyImage and an Integer variable called MyValue.


If user drags imgMyImage to the left, MyValue should increase by 1

If user drags imgMyImage to the right, MyValue should decrease by 1


I don't want imgMyImage to go anywhere or anything fancy, just want to manipulate MyValue.




What's the simplest way to accomplish this?


No comments:

Post a Comment