Solved:
The button handler was causing the issue. I went through and commented everything out. Last of course was the button handler. I switched it over to Ricardo’s button example, and that did it.
This does not work:
local btnPlay = ui.newButton{
default = "images/play.png",
over = "images/play.png",
onEvent = playHandler,
id = "playBtn",
text = "",
size = 12,
emboss=true
}
This works:
local bt02 = display.newImage("images/play.png")
local function bt02t ( event )
if event.phase == "ended" then
media.stopSound()
director:changeScene("playerSelection","moveFromRight")
end
end
bt02:addEventListener("touch",bt02t)
bt02.x = 240
bt02.y = 80
localGroup:insert(bt02)
[import]uid: 7197 topic_id: 4925 reply_id: 16308[/import]