I am still confused about local and global.
I thought local variables and function where only accessible in the block that they are declared. So why does something like this work?
[code]
local disappear = function ()
mo.alpha = 0
end
local appear = function ()
–Take .3 seconds to appear
transition.to(mo, {time = 300,alpha = 1})
–Disappear after .5 seconds
timer.performWithDelay(moDisappearTime, disappear, 1)
end
[code] [import]uid: 8192 topic_id: 1819 reply_id: 301819[/import]