I might be missing something here, but I'm just wanting to check if an asset exists (from a path) before I assign it to something.
For example, I would do something like:
this.mySprite.setSprite("Path/To/Sprite");
but I'd like to be able to do:
if(AssetExists("Path/To/Sprite") this.mySprite.setSprite("Path/To/Sprite");