     }
 
     this.resource = resourceName;
+    this.updateResourceSize(true);
 }
 
 

  * (before the load started) and what we really want is the size of
  * the loaded resource.
  */
LzSprite.prototype.updateResourceSize = function ( ){
    var mc = this.__LZmovieClipRef;
    // Get the true size by unscaling. Note: clip scale is in percent
    this.resourcewidth = mc._width/(mc._xscale/100);
    this.resourceheight = mc._height/(mc._yscale/100);
    this.owner.resourceload({width: this.resourcewidth, height: this.resourceheight, resource: this.resource, skiponload: true});
}

/**

        this.checkPlayStatus();
    }

    //unrolled this loop because it is called frequently
    if (this.x != 0) this.setX(this.x);
    if (this.y != 0) this.setY(this.y);
