Dear all,
I am new on Corona SDK, so please forgive this simple question! I am trying to achieve a very simple thing: displaying an object (image), and when tapped, display an alert.
I succeeded in having a main and a module (“logo”), and I can display the image with this:
[lua]-- Load logo library
local logoLib = require(“logo”)
local logo = logoLib.logo
logo:addEventListener(“tap”, logo)[/lua]
However, in the simulator every time I tap I get the alert. On my device (a Galaxy Tab 10), it works only once. It never worked more than once even when creating a single file.
What am I missing? I know it must be something really stupid…
Thanks for any hint!
[import]uid: 94362 topic_id: 16555 reply_id: 316555[/import]
[import]uid: 84637 topic_id: 16555 reply_id: 61851[/import]