I was wondering if it’s possible to load an asset image asynchronously using Load Async method from Image Utilities.
I’m able to use it with pictures from URLs, but couldn’t manage to load a PNG included inside the project assets.
I tried using Make Full Path method from File, providing both “App” and “Asset” scopes. Also, I tried removing and leaving the prefix “file://”, no luck in any of these attempts.
I know file scopes are discussed extensively and I’ve read a good part of the documentation offered in past posts already. Maybe it’s a little detail I’m missing.
I have a last resort, that should work on all versions, companion and APK. This basically copies the file from the asset over to the ASD, then generates an absolute path.
You don’t have to check if it is the companion or whatsoever. Just use the blocks in my previous post, replace the image with your image and the asset with your asset, and try. As I told you, the blocks copy the asset file to the ASD and then loads it from the ASD.
Also, mark the post with the correct solution. The current solution does not work in the Companion.