Fixed couple of minor backwards compatibility issues with flash target in Haxe 3.0.1
release 3.0.1 (minor backwards compatibility issue with flash & haxe 3.0.1)