Open Lua file within Lua

Hi, I just wanted to know if there is a simple way to open a lua file from another lua (in this case -->clicking button on main.lua and going to anotherfile.lua)

just want to create a simple app homescreen 

thanks! 

If you want to have separate lua files that represent different screens in your app, then take a look at the Composer API tutorial:

http://coronalabs.com/blog/2014/01/21/introducing-the-composer-api-plus-tutorial/

If you want to have separate lua files that represent different screens in your app, then take a look at the Composer API tutorial:

http://coronalabs.com/blog/2014/01/21/introducing-the-composer-api-plus-tutorial/