ok so i have learned something from here:
basically im looking to build an app with corona and I was looking on how to scroll (like if you scroll web page in browser at your phone). I thought this is a great feature until I realize I dont have an idea on how to change scene from here.
Let’s say with the above example I want main.lua to redirect to coffee.lua when I touch the row “Hot Coffee”, how can I do that?
*PS: I use director and yes i have placed in the required files and codes such as
local director = require (“director”)
and so on. but when I tried to put:
director:changeScene ("coffee")
in the listener here:
[code]function listButtonRelease( event )
self = event.target
local id = self.id
print(self.id)
detailScreenText.text = "AYO tapped "… data[id].title --added this line to make the right side of the screen more interesting[/code]
it doesn’t want to change scene. [import]uid: 114765 topic_id: 28197 reply_id: 328197[/import]