       }
 
       public function unload() {
-          trace('LzSprite.unload not yet implemented');
+        if (this.resourceObj) this.removeChild(this.resourceObj);
+        // clear out cached values
+        this.lastreswidth = this.lastresheight = this.resourcewidth = this.resourceheight = 0;
+        this.resource = null;
+        imgLoader = null;
+        this.resourceObj = null;
       }
 
       public function setAccessible(accessible:*) {

          o Stops at the current frame if framenumber is null 
      */
      public function stop( fn:Number = 1, rel:Boolean = false ):void {
          if (this.resource == null) {
              return;
          }
          var resinfo = LzResourceLibrary[this.resource];

          }
          var res = this.resourceObj;
          if (res) {
            res.scaleX = res.scaleY = 1.0;
          }
          //Debug.write('sprite setsource load ', url);
          imgLoader.load(new URLRequest(url));
