Trying to add the SVG library to an AS3 Sample Project

Doing some research I think I understand further.
When using the npm version of OpenFL - you’ll have to add libraries from npm. Meaning the libraries you would normally use via haxe would need to be registered and updated for npm with an appropriate package.json and definitions file so that it could be seen from a) your NPM created project and b) the definitions need to exist to see it from within your as3 project code.

Short answer - The SVG library does not have an npm entry currently so it’s not able to be added to your OpenFL for NPM project

For reference look at this discussion with @SingMajesty on using external libraries in OpenFL for NPM:

The thread goes on to explain how the actuate library in the PiratePig example was able to be used because it was added to NPM

I’m going to try using OpenFL for haxelib for my purposes. It still can target html5 and many of the libraries are already available.

Thanks!