       public var clickbutton:SimpleButton = null;
       public var clickregion:Shape = null;
       public var masksprite:Sprite = null;
-      public var frame:int = 1;
-      public var totalframes:int = 1;
       public var frames:int = 1;
       public var resource:String = null;
       public var source:String = null;

  * @author Henry Minsky &lt;hminsky@laszlosystems.com&gt;
  */

dynamic public class LzSprite extends Sprite {

#passthrough (toplevel:true) {
  import flash.display.*;

          sprite's size
      */
      public function stretchResource( xory:String ):void {
          if (xory == "width" || xory == "both") {
              this._setrescwidth = true;
          }

          if (xory == "height" || xory == "both") {
              this._setrescheight = true;
          }
          this.applyStretchResource();
      }

