I’m trying to load the library.swf from (NyanCat example) and i’m getting this error:
There is code:
Assets.loadLibrary('assets/library.swf').onComplete(console.log)
I’m using next.js
I’m trying to load the library.swf from (NyanCat example) and i’m getting this error:
There is code:
Assets.loadLibrary('assets/library.swf').onComplete(console.log)
I’m using next.js
I believe that sample relies upon Webpack to perform a transformation so that the SWF is converted during compile-time into a JSON file and image assets for use at runtime. Are you using Webpack?