Dear corona community,
I set up a tabbar in main.lua:
-- create menu local tabBar = widget.newTabBar( { top = display.screenOriginY + display.actualContentHeight - 50, [...] } )
which works basically pretty well. Problem is: Within one of my scenes, I have an overlay with a
composer.gotoScene(“abc”) inside the scene:hide function. So, when the overlay hides, scenery changes automatically. The scene switch works perfectly, unfortunately the tabbar does not get updated and still shows the old scene as active.
So, the question is: How do I reference the tabbar within that overlay (or within scene “abc”) to activate the desired button?
Thank you