Html5 games site Api Implementation query

Hellooo

I need to implement some games site API and need to call this from in my openfl project

window.gamewebsite.submitHighscore(level, score);

What do I need to import to allow this ? This is my first html5 game for anyone since fighting in the swf wars for 15 years !

-cheers,

You can use “untyped window.gamewebsite.submitHighscore(level, score);” , that’s what I always do when I’m trying to use native js methods.

Brilliant - cheers !