local function textFadeIn(group,i) if group[i] ~= nil then transition.fadeIn( group[i], { time = 1000, onComplete = textFadeIn(group,i+1)} ) end end textFadeIn(textGroup,1)
Hi all, I am new to Corona SDK. I want to fade in all text object in a display group one by one. The group[i+1] should start the transition after the group[i] complete the transition. However, in the above code, all the object will transition at the same time.
Is there any problem in the code? Thanks.