You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However I could not make the swf example to run (nor the NyanCat demo).
The AssetLibrary.loadFromFile ("layout.bundle") is always returning 404 error.
The onProgress callback is called with completed bytes so it must be loading it.
The openfl process assets/layout.swf command is also completing successfully.
I tried the swf file from the sample, tried recompiling it. Tried different loading paths..nothing seems to work.
Updated to the latest openfl 8.9.6 and royale-js 0.9.8 but nothing seems to work.
Can you please try to rebuild and see if it still works?
If you can also share the bin folder it would be great. I think that the bundle generation is making some sort of problem.
Thank you
The text was updated successfully, but these errors were encountered:
UPDATE: I think I know what is wrong. I need to alternative to this line in haxe project.xml file <library path="assets/layout.swf" id="swf-library" />
But how do I do that in the asconfig.json ? I tried this line but it did not work: "library-path": [ "bin/js-debug/swf-library.bundle" ],
Any ideas on how the swf/bundle is embed in the royale project?
However I could not make the swf example to run (nor the NyanCat demo).
The AssetLibrary.loadFromFile ("layout.bundle") is always returning 404 error. The onProgress callback is called with completed bytes so it must be loading it. The openfl process assets/layout.swf command is also completing successfully. I tried the swf file from the sample, tried recompiling it. Tried different loading paths..nothing seems to work. Updated to the latest openfl 8.9.6 and royale-js 0.9.8 but nothing seems to work. Can you please try to rebuild and see if it still works? If you can also share the bin folder it would be great. I think that the bundle generation is making some sort of problem.
Thank you
This has been fixed, only swf-lite is supported, use openfljs process instead of openfl to process the swf as shown in the now updated sample
Hello and thank you for the awesome examples.
However I could not make the swf example to run (nor the NyanCat demo).
The AssetLibrary.loadFromFile ("layout.bundle") is always returning 404 error.
The onProgress callback is called with completed bytes so it must be loading it.
The openfl process assets/layout.swf command is also completing successfully.
I tried the swf file from the sample, tried recompiling it. Tried different loading paths..nothing seems to work.
Updated to the latest openfl 8.9.6 and royale-js 0.9.8 but nothing seems to work.
Can you please try to rebuild and see if it still works?
If you can also share the bin folder it would be great. I think that the bundle generation is making some sort of problem.
Thank you
The text was updated successfully, but these errors were encountered: