I need this button to lead me to another .lua file
local playbutton = widget.newButton
how is it done?
all help appreciated!!! thanks!
I need this button to lead me to another .lua file
local playbutton = widget.newButton
how is it done?
all help appreciated!!! thanks!
I’m not sure what you mean, but looking at your screenshot you have to first move the last line (require) to the top of your code.
If you want the button to load a new scene you can then use Storyboard for that.
http://docs.coronalabs.com/api/library/storyboard/index.html
Duplicate post. Please respond on this thread: http://forums.coronalabs.com/topic/41853-i-need-button-help/
Thanks
Rob
I’m not sure what you mean, but looking at your screenshot you have to first move the last line (require) to the top of your code.
If you want the button to load a new scene you can then use Storyboard for that.
http://docs.coronalabs.com/api/library/storyboard/index.html
Duplicate post. Please respond on this thread: http://forums.coronalabs.com/topic/41853-i-need-button-help/
Thanks
Rob