Archive for February, 2008

Building an SWC library using the Flex 3 SDK

Wednesday, February 20th, 2008

So the other day i was trying to build the AsWing library with the Flex SDK. Sadly, i failed miserably. I didn't even know where to start. How do you feed all the files into the compiler? What command line switches to use? So after reading basically every piece of documentation that Adobe has to [...]

Yay, Bubbles!

Thursday, February 14th, 2008

Nothing special, yet fun, somehow. Control the direction and speed of the bubbles with the mouse. YAY \o/
Leftclick to start/stop.


edit: Make sure you got the latest version of the Flash runtime (9,0,115,0)!

Abstract Foliage 0.2

Tuesday, February 12th, 2008

I removed the path smoothing from the Abstract Foliage script as it gives me weird artifacts in the smoothing process.
This could most likely be avoided by smarter point placement and tighter packing of points in small areas.
But for now this version will give more pleasing results.
You can grab it here: http://dirty-motherucker.org/dump/abstract_foliage_0.2.js

Short filenames based on weighted curve

Tuesday, February 12th, 2008

Here is a small function that will shorten a filename based on a weighted curve.
I used a simple sine curve given the start and end of the filename the highest weights.
PLAIN TEXT
Actionscript:

/**

* This function will return a shorter representation of the path.

* Each token in the path is given a certain weight based [...]

TimedForEach Class

Thursday, February 7th, 2008

I ran into some trouble today with batch processing some files.
I am processing a set of files, but it is possible that some of the supplied files are invalid.
In that case i want to be able to pop up a messagebox and ask the user if he wants to retry, ignore or abort.
A lot of [...]

Sketches #3

Tuesday, February 5th, 2008

Sketches #2

Monday, February 4th, 2008

A little sketch i did on a dirty piece of paper i had on my desk for a while ;)

Abstract Foliage 0.1

Sunday, February 3rd, 2008

A little thing i wrote for Scriptographer. You can check out a recording of it in action here:
You can get the current version here. I'm still working out some details though ;)
The script is based on the weed_rounded.js that came with Scriptographer. So, for example, the options dialog is still the old one.

MessageBox Class for AsWing

Friday, February 1st, 2008

I lately commited a new class to the AsWing Kit SVN.
It enables you to display simple message boxes in AsWing based ActionScript applications.
The class was modeled after the Windows API function MessageBox().

The repository can be accessed through http://svn.aswing.org/aswingkit
PLAIN TEXT
Actionscript:

/**

* Opens the global MessageBox instance with the supplied parameters set.

* When the MessageBox is closed [...]

Sketches #1

Friday, February 1st, 2008

Here are a few new sketches i did while commuting to and back from work (on the train).