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)
Merge pull request #2 from misprintt/master

sync with 3.0.1