diagnose en calculatie AS3 by Hans Thomassen & Ralf Adams