Buttons Disappeared and Scene Change Help

Hello. I have a menu.lua file that has two options, and each option sends a user to a separate lua file. The code I typed below has a problem. The options disappeared from the simulator. What are some good and simple advices?

[lua]function scene:enterScene (event)
local group = self.view

function changeScene()
storyboard.gotoScene( “chapters”, “fade”, 400 )
end
chaptersBtn:addEventListener(‘touch’, changScene)

function changeScene()
storyboard.gotoScene( “piano”, “fade”, 400 )
end
pianoBtn:addEventListener(‘touch’, changScene)
–This space is for the code that should
–make the option clickable. Without it, the
–option will be useless.

end[/lua]

If you have any advices, let me know. :slight_smile: [import]uid: 162639 topic_id: 32619 reply_id: 332619[/import]

In the code listed above you can’t have two function with the same name. Other then that I don’t see anything wrong with the code listed. The problem is somewhere else [import]uid: 7911 topic_id: 32619 reply_id: 129760[/import]

In the code listed above you can’t have two function with the same name. Other then that I don’t see anything wrong with the code listed. The problem is somewhere else [import]uid: 7911 topic_id: 32619 reply_id: 129760[/import]