Haxe interfaces to allow for proper Dependency Injection for the flash API