Flash 9 Particle System
I just had a little free time and thought to give Flex 2 and AS3 a trial run. Just how fast is AS3? Bloody fast! I thought I’d write a small particle system engine to test AS3 execution and drawing speed using BitmapData. It turns out that the example runs very well with 10.000 particles updated each frame when simply drawing a pixel for each particle. But hey, that’s 10.000 instances of a subclass, each interpolating colour changes, calculating velocities and positions each frame, 45 frames per second. Good old Flash 8 would have bogged down at 500 particles, so AS3 really is fantastic speed-wise.
Give it a try below. And if you like it, drop me comment and I’ll publish the source after cleaning up a bit.
25 Comments
Hello new life!
On the 5th of July, at 16:15, our beautiful daughter was born. Below is a small video clip from when she opened her eyes for the very first time.
After spending four days with her now (and four sleepless nights, babies wake up every four hours to eat) I must say holding your own offspring in your arms is the most amazing thing that can happen to you






Wicked!
Great work. I’ve been wondering about the speed and capability increases in flash 9, particularly with respect to graphics simulations.
Thanks and definitely share that source if you are willing to make it available.
Mike.
Master!
Hope you will release source code as soon as possible
waiting for source, good work! I like it.
Thanks.
Show me the code
Looking good!
I did a particle experiment a couple months back. My particles were around 10-20 pixels, though, so I didn’t get quite as many running at once. I should try using small ones like that.
V. Cool.
Mind sharing your code?
Hi This looks really interesting. I have been producing particle systems for Flash in as2 for while. I’d really like to get a look at how this works any chance of the source?
ReferenceError: Error #1069: Property hasDefinition not found on flash.system.ApplicationDomain and there is no default value.
at mx.managers::SystemManager/getDefinitionByName()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::addingChild()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()
at mx.managers::SystemChildrenList/addChild()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::initialize()
at mx.managers::SystemManager/::initHandler()
It is intresting!Can you send the source code to me?
Flash ActionScript で パーティクル粒子・花粉の表現
Flashで花粉を表現したいのですが、ブワワワワ~と飛ぶ花粉に必要な技術を考えて…
love it. would love to see the source!
I found this by way of Google, searching for Flash particle systems. It’s very impressive! I would like to see the source please. Thanks!
superb!
Send me the source code please! This is exactly the kind of inspiration I need for my flash project at university!
For all who have not noticed, you can download the source from the next post.
Thanks!!
and:
Flash Video 2.0 convert your video to flash (movie, mpeg, avi, wmv to flash)
download http://softweb.info/software/flash_video_20.html
source http://softweb.info/
great work! love to view the source.
Would love to see the source!!
love to see source. Great job btw
Anyone requesting the source should have a look at the next post
Here’s an open source solution released under a MIT licence http://flintparticles.org/examples
Hey its just cool
i have just started learning flash (not AS part)
there off its awesome……
Nic there are people like you who do share their knowledge…..
Regards,
Railz…. Keep it UP
Fantastic!
now I’ll stay tuned..
Mind Blowing!!!!!!!!!!!!