Archive for general
skate app attag.me
Mai 21st, 2013 • general
Our latest project is online. It’s a skate app currently for iPhone. More infos on attag.me

Facebook App sourcecode
April 28th, 2010 • app, facebook, flash, general
After beeing asked to publish my sourcecode for the ImageViewer app – here it is:
Notes:
- free to use
- no warranty
- no documentation
- osx zip (might cause package problems on win)
Embed Font workflow for flash as3
September 16th, 2009 • general
Martin, a good friend of mine, wrote a great blog post about font handling. He created an ant task which creates a font class / swf. What’s so cool about it? You can load fonts, and dont have to compile them every time, like [Embed ...] does.
I just had some trouble because I misspelled the font :O. Here is a loop which traces all the registered font names and solved my really stupid fault. And here is a example how you embed a registered font.
var fontLoader : Loader = new Loader(); var lInf : LoaderInfo = fontLoader.contentLoaderInfo; lInf.addEventListener(Event.COMPLETE, onFontLoaded); fontLoader.load(new URLRequest("Verdana.swf")); function onFontLoaded(e : Event) : void { var tf : TextFormat = new TextFormat(); tf.font = "FONTNAME"; var tfield : TextField = new TextField(); tfield.defaultTextFormat = tf; tfield.text = "Martin rocks!"; var embeddedFonts : Array = Font.enumerateFonts(false); for(var i : Number = 0;i < embeddedFonts.length; i++) { var item : Font = embeddedFonts[i]; trace( "[" + i + "] name:" + item.fontName + ", style: " + item.fontStyle + ", type: " + item.fontType ); } }
Handling Javascript in AS3
September 10th, 2009 • 2 comments general
Handling Javascript calls via Actionscript 3 and ExternalInterface is cool. But in larger projects I’d like to have more controll over it. I spotted some things I didn’t like:
- Via addCallback(”func”, asFunc) – You can register a function twice
- You can’t see how much js calls / callbacks you’ve registerd and how often the were called.
So I wrote a small Singleton class called JsHandler which can deal with that issues. You can register callBacks and do Javascript calls. Furthermore the class provides two methods which report about the calls. A basic Error Handling is implemnted too.
I know I did a nasty hack for the …rest params. But I think it’s a good Solution for the problem. Noone needs more than 6 params in a Javascript function ;)
Update:
Thanks to lab9 for the apply and unshift hint. Now you can push as much params as you want to. I updated the class. The trick is:
// function name (string) args.unshift(jsFunctionName); // ...args ExternalInterface.call.apply(instance, args);
Here is the Democode:
JsHandler.addCallBack("sendToAs", fromJs); // Second one causes error (same name) JsHandler.addCallBack("sendToAs", fromJs); // returns the js return value as string JsHandler.doCall("sendToJs2", "p1", "p2"); JsHandler.doCall("sendToJs2", "p1"); // returns array of all callbacks JsHandler.allCallBacks(); // returns array with all methodnames // and call amount JsHandler.allCalls();
The class is just roughly tested and might contain errors. If you’ve any feedback or questions don’t hesitate to ask.
from now on: pagepointer
Juli 31st, 2009 • general
I decided to create a new category: impressive well executed sites I really really like. In short a category called “pagepointer”
I wordled myself.
Juli 31st, 2009 • 4 comments art, general
In case you don’t know, checkout http://www.wordle.net/. I found it yesterday night reasearching something I can’t remember ;) So my lastfm account and blog looks like this. For lastfm wordle go here
Huge Support for no-kids.org
Juli 3rd, 2009 • general
Here’s a list of recent no-kids.org articles:
- http://blog.jvm-neckar.de/…
- http://zulu.heuserkampf.com/…
- http://www.damnyeah.de/…
- http://spyd.de/blog/…
- http://www.joomlaportal.de/…
- http://0211.tumblr.com/…
Thank you so much for twittering, blogging and supporting a good thing
Help fighting childporn. no-kids.org
Juli 2nd, 2009 • creative, flash, general, hot, idea
Today we launched a project I’m really proud of. A website that works against childporn.How does it work? You can find detailed info on no-kids.org.

Here is a summary:
You’re trusting an applet. This applet works like a limewire / frostwire client. It fakes files – pretending you’ve childporn on your pc, which you DON’T have! When a pedophile searches or tries to download such a file our website gets informed and visualises the query / download.
We just want to visualise the density of childporn usage, NOT where “these people” are located (tracking the exact position is not possible – and hopefully never will). The downloader/pedophile – downloads a fake file which PROVIDES HELP.

