AS3 old school effects

Actionscript

Building on my previous movie.. but this one has pixels combined with a more complicated DisplacementMapFilter.

The speed of the new VM is awesome. The movie below only has 200 dots drawn on every frame, but it seems to be able to go up to 10000 with ease.

Movie and source (now with comments!) after the jump. (Flash player 8.5 beta 2 requred to see the movie)



Source

This entry was posted on Thursday, March 30th, 2006 at 8:24 pm and is filed under Actionscript. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

6 Responses to “AS3 old school effects”

  1. Carlos Rovira Says:

    Hi,

    Cool Effect, but now that since flash 8 we have more things on play I’m finding that we need to put an eye on memory consuption since Bitmapdata objects use to eat a lot of resources. I was watching your wonderful demo and seeing that my firefox is progresively eating resources.

  2. Ash Says:

    Hi Carlos,

    It looks like you’re right, but I think its just because the temporary bitmaps being produced when I apply the filters aren’t being garbage collected right away.

    I sat and watched it for a while in firefox, and the memory usage fluctuated between 75M and 78M. I’ll leave it running for a while and see if it goes up any more.

  3. Tiago Says:

    Well, i can´t see the archive in browser (it didn´t work). I will donwload and try later. Nice blog.

  4. Nate Chatellier Says:

    I have flash player 9.0.18.60 installed and I tried to see your swf in both IE and Firefox, both of which just showed me a black window. Does it not work in this player?

  5. Ash Says:

    These movies were compiled a while ago with the beta and were never updated. So they wont show in the new player (sorry). I should recompile and reupload them :)

  6. Nate Chatellier Says:

    I downloaded the source and tried to compile it using Fla9 AS3 Preview, but it wouldn’t compile. It looks like you’re trying to make a call to this.addChild(holder) before holder has been assigned a Bitmap value (ie it’s still null). I’m assuming that you intended to have holder = new Bitmap(mybmp); just before the .addChild call. Once this line was added, everything compiled and ran perfectly.

Leave a Reply