My game has different objects like backgrounds and avatars. For example, if you load a lot of frames into these objects, then this will be an extra load of memory on the layout. Therefore, I decided to move all the images to the Files folder and load the object through the Load from URL. But here another problem arises - sometimes such loading works slowly.
How can you do it in an optimized and instant way?
I also found one obscure feature, you can view it in the source. When starting the layout and changing the icon, everything will not work correctly, but move the "FramesIcons" sprite from the "IconsRoom" layout to the "Menu" layout and you will see that the images load correctly when the icon is changed.