for (var i:int=cardCount; i < numberOfCardsToDispatch;i++){
Tweener.addTween(packArray[i], {x:packPosX - dealXPos, time:.4, delay:dealDelay, transition:"easeOutExpo", onStart:function(){packArray[i].visible = true;}});
}
I'm looping through my array, packArray[i] refers to a sprite. I want it so that as soon as the Tween starts the sprite is visible.
The above code does not tween the sprite, just freezes it, as soon as I take onStart out, it works. Any ideas where I'm going wrong?