Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FB.hx
- =====
- @:native("FB")
- extern class FBExtern {
- public static function init(params:Dynamic):Void;
- }
- class FB extends FBExtern {
- public static function startup() {
- trace("doing the startup");
- }
- }
- Main.hx
- =======
- FB.startup(); // this works
- FB.init(); // this give #FB has no field init
Add Comment
Please, Sign In to add comment