[code]
local t = display.newText( “0”, 115, 105, “ArialRoundedMTBold”, 160 )
t:setTextColor( 0, 0, 0 )
function t:timer( event )
local count = event.count
print( “Table listener called " … count … " time(s)” )
self.text = count
if count >= 20 then
timer.cancel( event.source )
end
end
timer.performWithDelay( 1000, t, 50 )
[/code] [import]uid: 10827 topic_id: 5481 reply_id: 305481[/import]