I wonder if there is implementation for accessing online resources through hxd.fs.FileSystem? It will be very practical to traverse structure of sites like local file system and thus expanding possibilities of resource management. Problem that must be solved is an asynchronous way of such service.
Once you have loaded some data from any posssible source, you can use
hxd.res.Any.fromBytes that will create an
hxd.res.Any resource ready to use for Heaps.
Thanks, I have updated my ugly approach:
var entry = new BytesFileEntry(path, bytes); mImageData = Type.createInstance(hxd.res.Image, [entry]);