Hi, I was wondering which is the best way to integrate javascript libraries into OpenFl.
I am sincere, I don’t know any but I know it is possible
I read about extern and untyped, but always from old resources. HaXe and OpenFl is evolving, so I’d like to have updated explanations.
In particular I am interested in GSAP, Greensock tweening system, because I’d like to introduce in our workflow new/alternative tools, as familiar as possible, because we were been using AS3 + GSAP since 2009. Just an example.
This could go in a project.xml (for a project), or in an include.xml (for a haxelib)
It will copy and link the JavaScript file when publishing to HTML5, you still need extern classes but this helps when you need to include an additional external script