core library (Haxe/AS3)