gotoScene issue

Hey Guys, whats up.

I’m freaking about a problem here with my scenes. the start screen has a playbutton, this button works at the first time the game runs, but if i come back to the start screen the start button doens’nt work

function start(event)

    if event.phase == “began” then 

       print(“start”)

        storyboard.gotoScene(“restart”, “fade”, 400)

    

    

    end

    

end

Actually, it prints “start” on the output, but it doesn’t go to restart Scene, on the secod time it is pressed.

ps: the objective is not going to restart scene, but I chose it just to solve this problem, even because i get this problem with any scene i put in restart’s place.

SOLVED!

removeScene()

Code outside of listener functions (below) will only be executed once,
– unless storyboard.removeScene() is called.

http://docs.coronalabs.com/api/library/storyboard/

http://docs.coronalabs.com/api/library/storyboard/removeScene.html

18 hours off issue

SOLVED!

removeScene()

Code outside of listener functions (below) will only be executed once,
– unless storyboard.removeScene() is called.

http://docs.coronalabs.com/api/library/storyboard/

http://docs.coronalabs.com/api/library/storyboard/removeScene.html

18 hours off issue