Hey,
in fact is the Tap event does not work.
I have an overlay that closes on an event tap. When you press the button resume, nothing happens. I insert a print command inside the function but nothing is displayed.
Thanks for any help!
CODE: **********************************************
function og.d.cena:willEnterScene( pEv )
local loScene = self.view
og.m.objButton.g.sGroup = display.newGroup()
og.m.objButton.g.sGroup.x = display.contentCenterX
og.m.objButton.g.sGroup.y = display.contentCenterY
local loOb1 = display.newSprite( pObj.i.imElements, pObj.f.anElements.f.animations() )
loOb1.x = 0
loOb1.y = 0
loOb1:setSequence( “anWhite” )
loOb1:play()
og.m.objButton.g.sGroup:insert(loOb1)
display.Remove( loOb1 )
loOb1 = nil
local loOb2= display.newImage( pObj.i.imElements, pObj.t.enElements.t.enum.button4)
loOb2.xScale = 3
loOb2.yScale = 3
loOb2.x = 0
loOb2.y = 0
og.m.objButton.g.sGroup:insert(loOb2)
display.Remove( loOb2)
loOb2= nil
og.f.onResume = function( pEv )
print(“Test Test One Two”)
local loPa = og.m.geGame.f.hideOverlay( )
og.b.storyboard.hideOverlay( loPa.effect, loPa.time )
return true
end
og.m.objButton.g.sGroup:addEventListener( “tap”, og.f.onResume )
end
*************************************************************************