Peng Zhang on October 2nd, 2009

The Timer object can be a source of problems in actionscript 3 projects. In my recent project, I needed to do some script-based animation on a frame, and I used TweenLite (a great animation engine) to create a sequence of animations, and I needed the animation to repeat the sequence on and on until the [...]

Continue reading about Timer Object Management in Flash CS4

Peng Zhang on June 13th, 2009

I have been using the Tween class built into Flash for animation. Yes, it is a bit tedious to set up a simple animation. I have to create a bunch of Timer objects in order to sequence the action if there is more than one animation. The other way would be to add event listeners [...]

Continue reading about Flash Tween Engines for AS3

Peng Zhang on December 8th, 2008

Today I found a piece of nice interesting javascript effect – falling snow on your web pages. Who does not need some nice snowflakes around Christmas? It uses a number of PNG snow flakes images, and display a random falling snow flakes across your web page. The code that drives the effect is quite nicely [...]

Continue reading about Javascript-based Snow Effect on Web Pages