Is preload=“false” the default value or do I have to add it?
I tried adding it and couldn’t see any difference in how long the progress bar was present.
How do I test in my code if a file in the assets folder was preloaded?
Can I specify which files are preloaded by extension? If so how?
Should font files always be preloaded?
There is an embed attribute for <assets> and I believe it defaults to true. I prefer to make it explicitly either true or false for every asset tag I use.
The documentation is at: XML Format
It doesn’t cover everything it should, but it should be a good start.
If you compile to html5 you can see the assets load in the web developer console in your browser (network activity).
I’m getting mixed results especially with subfolders inside the Assets folder. So I need someone to tell explicitly what this line should be to prevent any png or jpg file in any subfolder of Assets from being preloaded: