Tuesday, May 6, 2008


View SWF online

Download FLA

Yet another ZContainer demo.
Initially I made those fireflies move randomly,
but I found out in such case the 2.5D characteristic of ZContainer is not demonstrated quite clearly.
Thus, I decided to have the fireflies fly move that "X" like pattern
so as to clearly demonstrate the 2.5D feature of ZContainer.

FYI, using ZContainer,
this effect is achieved with only 40 lines of code in the document class .as file.
No depth sorting is needed at all,
since ZContainer takes good care of that for you.

No comments: