AS3 genereric toolkit