getResource() is being removed from AnimationCache etc. API


#1

getResource() is being removed from AnimationCache etc. API

The following API functions cause JavaScript errors and always have:

  • AnimationCache.getResource()
  • ModelCache.getResource()
  • SoundCache.getResource()
  • TextureCache.getResource()

They are going to be removed from the API in RC71.

To get or prefetch a cache item, use the already existing AnimationCache.getAnimation() and AnimationCache.prefetch() etc. functions.