Search code examples
actionscript-3animationtween

TweenMax: tween stumbles the first time


I have some image Containers which hold a lot of images(10-100). Some of those Containers(Sprites) are off screens but are loaded and added. Through arrow keys I start a tween in the according direction. The tween is not smooth(stumbles) always the first time when a container comes on-screen. How do I get a smooth tween ?


Solution

  • mySpriteContainer.cacheAsBitmap = true; -> solved my problem