"porting" to haxe3 / openfl

changed some import and setter/getter function name