How to link a button to a different .lua file

Hi all, I am having a hard time trying to figure out how link a button from one file to another. The goal is to make a menu screen that leads to several other screens. Thanks for any help!

try this

https://www.dropbox.com/s/wpe822ysmiv49ih/module%20example.zip?dl=0

it is a basic example

We use something called Composer as a scene manager. See: https://docs.coronalabs.com/guide/system/composer/index.html

There are examples in the SampleCode folder. Chapter’s 4 and 5 of our getting started guide (https://docs.coronalabs.com/guide/programming/index.html) give examples of setting this up as well. 

Robo

try this

https://www.dropbox.com/s/wpe822ysmiv49ih/module%20example.zip?dl=0

it is a basic example

We use something called Composer as a scene manager. See: https://docs.coronalabs.com/guide/system/composer/index.html

There are examples in the SampleCode folder. Chapter’s 4 and 5 of our getting started guide (https://docs.coronalabs.com/guide/programming/index.html) give examples of setting this up as well. 

Robo