I’m trying to create a table that contains a player name and a small image that indicates the “state” of a player. All I want to do is to change the alpha value of the image that was added to the row each time the row is touched so that the image is either seen or not.
In my onRowRender event handler, I have added the image via the lines:
local row = event.row
local rowCheck = display.newImage( row, checkMark.png", false)
In my onRowTouch event listener how to I get access to rowCheck (or the image of the row that is touched) to alter its alpha value? Actually, I have also added text using display.newText and I don’t know how to get access to that either.
Thanks!