[fixed] Error when trying to use <library> tag

[edit] works after removing Haxe from system and starting a new install :slight_smile:

Hi guys,

New to OpenFL, I try to use a swf library to manage assets created in Flash.

But when I add a tag like

<library path="Assets/library.swf" preload="true" />

in the project.xml, I encounter the error message:

Uncaught exception - load.c(398) : Invalid module : tools/tools.n

I tried with the NyanCat demo as it uses swf library too but I got the same error message…

So it seems I can’t use any “library” tag…configuration issue?

How can I debug this?

Thanks for your help. :slight_smile:

What version of Haxe were you using? I think you need Haxe 3.2.1 at least.

This error can occur if you install Haxe 3.4, and rebuild the tools, then try and run on an older version of Neko, but I believe our build server should still be using Haxe 3.2.1 for builds