Archive for the 'actionscript' Category

Substrate in 25 lines

Monday, December 15th, 2008

As soon as I heard of the 25-Line ActionScript Contest I knew I’d have to take part. So I tried re-implementing Substrate in 25 lines. I ended up with a pretty limited version but it runs fine and looks nice.
But, oh well, I didn’t make the finals :( And I don’t plan on entering it [...]

Furry Blog Logo

Thursday, November 13th, 2008

Update: I updated the .swf files. So hopefully now those pesky Flash Player errors are gone :( Shame on me for bad coding.
I had a little fun with particles in AS3 the past days. I wrote a small piece based on my Processing port framework that traces the paths of particles. The particles pick up [...]

Converting SWF animations to video

Tuesday, October 14th, 2008

If you ever tried to convert a SWF animation to a video you know what a pain it can be. Let’s first look at the solutions at hand:

Exporting a movie from Flash
Using a SWF to movie converter
Screen capture

Now let’s break those down.

Exporting a movie from Flash
- Doesn’t play sub-movieclip animations
Using a SWF to video converter
- [...]

Supernova

Monday, August 18th, 2008

While working on a reference implementation in Actionscript for a demo effect, I accidentally ended up with this beauty. It’s based on the lovely City Traveler algorithm by Jared Tarbell with only a few minor adjustments actually. I thought I’d share nevertheless :) Be sure to stop it at some point, otherwise it will go [...]

PureMVC file templates for FlashDevelop

Friday, June 20th, 2008

I wrote 3 small file templates for the AS3Project in FlashDevelop.
They come in quite handy when working on a PureMVC based project.
PureMVC-Command.as.fdt
PureMVC-Mediator.as.fdt
PureMVC-Proxy.as.fdt
I hope it helps someone ;)

Quickly generating AsDoc

Tuesday, June 17th, 2008

For ease of use i have a small batch file to generate the documentation for my ActionScript projects. It’s definitely nothing special, but if you struggle with the asdoc syntax and you just want a quick solution, here it is:

@echo off

set asdoc_bin="E:\projects\flex_sdk_3\bin\asdoc.exe"
set aswing_path="E:\projects\aswing\trunk\AsWing\bin"

%asdoc_bin% -doc-sources org\dirty_motherfucker\. -main-title "My ActionScript Project" -output "doc" -compiler.library-path %aswing_path%

pause

It also points [...]

Updated Processing works

Monday, May 26th, 2008

I updated all the processing works to use a more common code base. Additionally i added start/stop functionality to the small versions displayed directly in the blog.
I also fixed a few minor (and some major) issues in the Sand Traveler project.
In the original code you will find the following line:
float tinc = ot+(1.1-t/num)*2*t*TWO_PI/num;
which i ported [...]

BuddahBrot in AS3

Thursday, May 22nd, 2008

2008-05-26: I fixed some parts of this port. For further details check the updated works post.
For this one i have to credit quite a few people.
As always, i started out with the Processing source by Jared Tarbell. He based his code on an implementation by Paul Bourke, who based his work on a technique invented [...]

Jared Tarbell’s “Sand Traveller” in AS3

Thursday, May 22nd, 2008

2008-05-26: I fixed some parts of this port. For further details check the updated works post.
I saved one of my favorites by Jared Tarbell’s for now. The algorithm amazed me almost as much as Substrate did, but when i decided to port Tarbell’s works i knew i could put a little sugar into this one.
I [...]

Jared Tarbell’s “Happy Place” in AS3

Thursday, May 15th, 2008

2008-05-26: I fixed some parts of this port. For further details check the updated works post.
I finished another one of Jared Tarbell’s works. Based on the experience with Substrate, this port was straight-forward.
I also just gave the new Flash Player 10 Beta a run for it’s money. I can only recommend installing it for a [...]