That’s an interesting idea. I guess,
Assets.loadLibrary assumes it will know the location of the library already, since it has already been registered.
Lime has an
AssetLibrary.loadFromFile method that does take a
rootPath property. The idea here is when a standalone library has been created.
I suppose we need more tooling to make it simpler to generate asset libraries on the fly, so that it is easier to load this way.
openfl process my.swf will create a standalone library, but currently we lack tools to do the same for other library types