A view to the Kamnisko Sedlo
One of the often viewed spots while travelling from and to work in Kamnik with the Slovenian train.

Blitting the tweened balls

Blitting is a technique used to make Flash applications to seem more efficient performance wise. It is explained better elsewhere, so I believe linking there serves the purpose.

The memory usage with blitting goes nearly hand in hand with the current screen size, try the example in full screen. It was around 22 MB at my screen.

For this example I was using TweenLite 11.09 beta, but the code works with any version within a year in the past.

Source code example TweenLiteBallsBlitting.as now available at GitHub.

The few latest code snippets I have thrown here, have been formatted with non cuddling curlies. This is due to the fact that the two big companies involved to the scripting/programming languages that I am using, namely Adobe and Zend, Actionscript and PHP, both prefer that format in their coding conventions/ standards.