I noticed the support for AS3 via Royal for OpenFL and thought I’d take a look at how easy it’d be to port over a project we’ve had in flash for years. Our project uses SVG extensively so I tried to modify the BunnyMark example to load an svg file but ran into issues. I was trying to import this library for handling the svg loading:
In the BunnyMark demo I first did an
and confirmed it ran - then I added the import statement:
and imported the library with:
npx haxelib install svg
but was unable to get it recognized. When running “npm start” I keep getting
Warning: Definition format.SVG could not be found.
Is there a way to import this library for use with as3 and openfl?
Appreciate any help. Thanks.