Hi!
I’ve been created a scrollable content control with widget.newScrollView in a new empty project and it work perfectly!
Now, I want to use the same control in another project what use the Director Class and the control not shown!
The code is very very simple in the project that use Director:
— START: main.lua —
[blockcode]
local function main()
mainGroup:insert(director.directorView)
director:changeScene(“home”)
return true
end
main()
[/blockcode]
— END: main.lua —
— START: home.lua —
[blockcode]
module(…, package.seeall)
function new(e)
local localGroup = display.newGroup()
– my code of the ScrollView control is here
localGroup:insert(controls)
return localGroup
end
[/blockcode]
— END: home.lua —
If I remove the “module(…, package.seeall)” line the project work perfectly… but the Director class give me some errors… and if I put “module(…, package.seeall)” line, the ScrollView control don’t work!
Any idea?? Please!!
Thanks!! [import]uid: 127670 topic_id: 29374 reply_id: 329374[/import]