Is there a convenient and easy way to share a touch handler among many similiar buttons?
For instance suppose I have an options panel that has many checkboxes on it. All the touch handlers for say 6 boxes are essentially the same, they simply make visible or invisible a checkmark on each box.
I can of course use x and y to determine which box was touched but is there an easier way?
I did see the event.id field that is passed in but I am not sure
- how to use it
- if I should use it
- is there an easier way to differentiate each touch?
Thanks,
-Dennis
[import]uid: 108253 topic_id: 19603 reply_id: 319603[/import]
")