Update for haxe3 and openfl.