ippa/jaws — Issue #17: invalid asset path is repeatedly retried
Author: skrossner
Created: 2011-12-15 06:06:10+00:00
State: open

If I call "jaws.assets.add()" with a string argument representing an invalid asset path, then that path is attempted to be fetched each time it is referenced in a jaws.Sprite constructor. This leads to massive slowdown (and lots of network traffic) if there are thousands of sprites that use this invalid asset path.

I would prefer an invalid asset is not attempted to be retrieved once it fails to be retrieved the first time. Also, an exception or even a console error would be nice as soon as the asset is deemed invalid.