Archive for flash

Help fighting childporn. no-kids.org

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.

Edge detection in Flash

here is a good post about edge detection with the sobel-operator

sobel-edge-detection-in-flash

Works really well, but does not fit my needs.

Face tracking!

I found http://www.mukimuki.fr/flashblog/2009/05/28/camshift-smile-you-are-tracking/

The Camshift algorithm is propably the best tracking algorithm for the flash platform. It’s stable, fast and good coded. Love it!

www.radioverkauft.de

on friday we launched www.radioverkauft.de

i did the whole flash part. the page is fully customizeabled (images / text) via backend.

Flashplayer error #1009 on stageResize

I spotted a strange fp behaviour. On some computers Flashplayer throws an error saying #1009 null object reference.

The Problem: the stage resize is called when the flash app isn’t completly loaded.

The Fix : check for null object:

“if(_videoPlayer != null)”

thanks to martin vor the tip

FDT compile ant on shortcut

What i missed in fdt was compling the last build on shortcut. As you might imagine i’m not a friend of reading eclipse preferences. So i asked a nic guy from powerflasher yesterday ;)

eclipse -> preferences -> general -> keys -> run last launched external tool

The as3 loggger i use

http://www.monsterdebugger.com/

Why?

  • works when flash is embeded in html
  • easy to implemnt and use
  • live property editing
  • free
  • works with air technology

contras:

  • the trace time isn’t precise enough
  • slows the swf performance by intens use

conclusion:

This is agreat tool and i can only recommend it.

Duplicate Object in AS3

Well this snippet does not copy the whole object, but you can create a new instance of that object.

function createNewInstance(obj : *) : *
{
	var ClassReference:Class;
	ClassReference = getDefinitionByName(
				getQualifiedClassName(obj)
				) as Class;
	return new ClassReference();
}
 
// demo
 
var tmp : MyType = new myType();
var tmp2 : MyType = createNewInstance(tmp);

« Older Entries

Newer Entries »