           o Sets the sprite to the specified width 
       */
       public function setWidth( v:* ):void {
-          //trace('..sprite setWidth', v);
+          trace('..sprite setWidth', v, this.owner);
           this.lzwidth = v;
+          this.applyStretchResource();
           // TODO [hqm 2008-01] We need to add back in the code here to
           // update the clipping mask size, and resource stretching as well, see swf8 kernel
           if (this.clickregion != null) {



      var skiponload = false;
      var resourceWidth;
      var resourceHeight;
      var baseurl;
      function  __preloadFrames () { }


      }

      public function applyStretchResource():void {
          var res = this.resourceObj;
          trace("applyStretchResource resourceObj=", this.resourceObj, this.resourcewidth, this.resourceheight, this._setrescwidth, this._setrescheight, 'lzwidth', this.lzwidth, 'lzheight', this.lzheight);
          // Don't try to do anything while an image is loading
          if ( (res == null) || (res is Loader && !this.resourceLoaded)) { return; }

          res.scaleX = 1.0;
          if (this._setrescwidth) {
              res.scaleX =  this.lzwidth / this.resourcewidth;
          } 

          res.scaleY = 1.0;
          if (this._setrescheight) {
              res.scaleY =  this.lzheight / this.resourceheight;
          } 
      }


