Hello everyone,
I’m super new to Corona and the Lua languange. I’m coming from a flash and actionscript 1 and 2 background so I’m trying to wrap my head around this stuff. I’m using require to load an external lua file (screen1.lua) containing a interface I created into my main.lua . Once I do that is there any way to reference screen1.lua so that I can scale, move or animate it? I’ve tried giving it a variable name but I can’t seem to get it to work. Can I only reference things like functions and objects and not the whole external lua file? Here’s what I’ve done as a test so far…
local externalPage = require(“screen1”)
externalPage.x = 100
Any help will be greatly appreciated. Thanks!
L [import]uid: 52296 topic_id: 8807 reply_id: 308807[/import]
[import]uid: 3826 topic_id: 8807 reply_id: 32087[/import]
[import]uid: 34945 topic_id: 8807 reply_id: 32245[/import]