Yep, due to occupational necessity, I am starting to learn Actionscript 3.0 and Flash. So what do I make, why a particle system of course!

This SWF has a particle system class capable of 3D sprays of colored balls, including completely configurable 3D gravity, size, speed, emitter angle, alpha, color and a few others I am sure I forgot.

Actionscript 3.0 is no ruby, but I am still enjoying myself.

Although since I can’t override operators like I can in ruby, in order to add 2 vectors together (or mltiply/divide/subtract) my Vector class has to do this:


var vector3:Vector = vector1.add(vector2);

Instead of the hot and sexy ruby possibility of:


vector3 = vector1 + vector2

At least I can use Textmate to write the *.as files.

2 Responses to “Starting to learn Actionscript 3.0”

  1. Simeon Says:

    I learned actionscript long before I started playing with ruby, and at the time i didnt appreciate the dynamic nature of the language.

    Now i long for ruby syntax in all my flex applications. Operator overloading would be chief. I keep hoping that now that Tamarin is OS someone will build a ruby compiler for flash. That would be wicked slick.

  2. Chloe Baby Says:

    Hello. A while ago when adobe AIR was coming out and FLEX 2 seemed to be getting rave reviews, i saw a few tutorials and tried to give it a go. The problem is, coming from a PHP background where tutorials / examples are massivley abundant, when i tried to get into flex, i found learning things too slow and painful.

    I look forward to seeing your particle system, unfortunatly the .swf doesn’t work, the ‘Click me’ doesn’t do nothing and get no pointer ? Vista, FF, flash player (All latest versions at time of writing)

Leave a Reply