build 2013.1137
Hello everybody,
my scrolling works fine just the first time and in Corona terminal there is not error, if I change scene and I return back it works again one time.
Thank you in advance for help
local function scrollToIndex() list:scrollToIndex( 1, 400 ) end local navBar = widget.newButton{ defaultFile = "images/navBarVerde.png", overFile = "images/navBarVerdeOver.png", onRelease = scrollToIndex } navBar.x = display.contentWidth\*.5 navBar.y = math.floor(display.screenOriginY + navBar.height \* 0.5) widgetGroup:insert( navBar )