buttons and storyboard?

is storyboard the only way to make a button actually work? cause Im not using storyboard but I am very far in my code/game and I need some buttons to work and I am not re writing it with storyboard so wad up?? what do I do? heres a pic of the code of the button I need to work. I want the button to go to my next scene which is name in-scene

You know, its really faster and less painful to actually read or watch those tutorials. They are that good! Give it a try.

I have literally tried everything I don’t know what I am doing wrong please can you show me!?

local btnRelease = function (event) //do your work here end local playBtn = widget.newButton{ left = 186, top = 160, width = 105, height 105, defaultFile = "button.png", overFile = "buttonClick.png", onRelease = btnRelease }

This is the way I do it, it should work fine for you. I don’t know what coding experience you have but I have seen a lot of posts from you over the past few days on fairly basic stuff that is well documented, so maybe you look at them.

Please direct any further responses to this thread:   http://forums.coronalabs.com/topic/41853-i-need-button-help/

Thanks

Rob

You know, its really faster and less painful to actually read or watch those tutorials. They are that good! Give it a try.

I have literally tried everything I don’t know what I am doing wrong please can you show me!?

local btnRelease = function (event) //do your work here end local playBtn = widget.newButton{ left = 186, top = 160, width = 105, height 105, defaultFile = "button.png", overFile = "buttonClick.png", onRelease = btnRelease }

This is the way I do it, it should work fine for you. I don’t know what coding experience you have but I have seen a lot of posts from you over the past few days on fairly basic stuff that is well documented, so maybe you look at them.

Please direct any further responses to this thread:   http://forums.coronalabs.com/topic/41853-i-need-button-help/

Thanks

Rob