parentNode.org

The building blocks of a solid frontend.

Best open-source from #flash(Week of show off part 3 of 3)

Posted in Flash by Chris Benjaminsen on the May 2nd, 2007

Intro

This article is part 3 of 3 of a series of articles

I often find myself doing small self contained projects which has no relation to work nor my larger pet projects, these are either proof of concept tests, or simply me trying to help someone in #flash on Quakenet. Back in the days I would only share the files with the people involved, but I realized that that others might possible benefit from the example code. Although this might sound contradicting I am not a big fan of writing articles about everything I do, so therefore I just decided to dump the files (including source) into a folder on my server with directory browsing enabled.

The code is fare from anything I am proud about, but they are all just proof of concept or tests. Regarding license for the source, all are some form of open source, the one that does not specify a specific license is released under DWTHYW as defined below. I assumed that this was due to the collision detection and just wanted to see if I could do a faster implementation.

DWTHYW Licence 1.0
Do what the hell you want

Anyway lets look at some files:

Floating tabs

This specific file was made for a friend of mine who atually needed something like this in javascript. I just prototyped it in flash as I find it one of the fastest languages for doing visual things. The system fits in an any number of tabs into a defined area, and uses ordinary events for hover effects and such.
View
Download Source

Chain Reaction

This example I made for myself after playing boomshine. I noticed the game would lag when there was 50+ balls on the stage. I assumed that this was due to the collision detection and I just wanted to see if I could make anything that was faster. The swf have 500 balls, using a collision detection system that runs in O(n) time.
View
Download Source

Rain

Most of the users in the #flash irc channel on Quakenet is ofcouse notices trying to get started on flash. Flash not being the easiest framework to get the hang of creates alot of confusion, so what we to do is wrap new people up into groups and have a little shared development session. This is one of the results of such. No it does not use AS2.0 but the purpose is more to introduce people to the library and such.
View
Download Source

Blurring windows

This example was made after discussing on IRC about how one would do so. Shortly described it uses a bitmap canvas for each window and a costume controller for render order to ensure that everything is rendered and blurred in the correct order. Ohh and the apple logo was added after someone said that it was almost like Windows Vista.
View
Download Source

Epilogue

Again thease are just some of the files found in my dump folder. I have actually written separate articles about a few of the things found there before.

Anyway I hope you like it all.

2 Responses to 'Best open-source from #flash(Week of show off part 3 of 3)'

Subscribe to comments with RSS or TrackBack to 'Best open-source from #flash(Week of show off part 3 of 3)'.

  1. Deviant said,

    on May 9th, 2007 at 6:43 pm

    I like the rain, dont think ive seen that before :)

  2. Said said,

    on June 6th, 2007 at 10:58 pm

    Close your eyes and listen to the raindrops.. brings vivid memories back ;)

    godt stykke arbejde

Leave a Reply