               } else if (this.isaudio) {
                   // unload previous sound-resource
                   this.unloadSound();
+              } else {
+                  // clear resource cache
+                  this.resourceCache = null;
               }
               
               this.__isinternalresource = true;

          }
      }

/**
  * Puts this sprite in front of one of its siblings.
  * @param LzSprite v: The sprite this sprite should go in front of. If the passed sprite is null or not a sibling, the method has no effect.
  */
      public function sendInFrontOf( sprite ){
          if (!this.isroot) {
              var i = parent.getChildIndex(sprite);

            this.loaderMC = null;
        }
        this.imgLoader = null;
        this.resourceCache = null;
      }

      public function setAccessible(accessible:*) {
