Given the following:
example.lua
-----------
module(..., package.seeall)
function xyz()
local pgBtn = display.newRoundedRect(125, 400, 100, 70, 12)
pgBtn.strokeWidth = 3
pgBtn:setFillColor(51, 0, 255)
pgBtn:setStrokeColor(51, 153, 255)
midBtn:insert(pgBtn)
local pgBtntext = display.newText(abc, 145,415, native.systemFont, 50)
midBtn:insert(pgBtntext)
end
--------
main.lua
--------
require("example")
1. how can I change the value of "abc" from main ?
2. how can I change the fillcolor & strokecolorfrom main ?