Openfl has a serious bug! Hope to fix it
embed=false, I did not embed any resources, why can Assets.getBitmapData retrieve images!
Close VSCode, reopen VSCode, delete the Export folder, recompile, but it still doesn’t work. You can still get the image. I hope to load the image at runtime
Embed=false doesn’t work!
I’ll move the images folder to the root directory, that’s all
Embed=false is working
Just use another folder
I don’t know why embedding resources in the Assets folder doesn’t work, so I need the openfl author to answer
Newcomers love to research, love to record, and ask questions if they don’t understand
I am a beginner and not a professional programmer. I have self-taught my code and my coding level is average, but I really like OpenFL
Hey, I don’t think it is a serious bug. Try deleting all files from your output folder and start building from scratch . Additionally, you should double check on your code and the project settings in the project.xml for better result.
<assets path="Assets" rename="assets"/>
is likely causing assets/images/map01.jpg to be preloaded because it does not have embed="false"
.