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

      public var resource:String = null;
      public var source:String = null;
      public var clip:Boolean = false;
      public var stretches:String = null;
      public var resourcewidth:Number = 0;
      public var resourceheight:Number = 0;
      public var isroot:Boolean = false;



      /** stretchResource( String:axes )

          o Causes the sprite to stretch its resource along axes,
          either 'width' 'height' or 'both' so the resource is the
          same size as the sprite along those axes.

          o If axes is not 'width', 'height' or 'both', the resource
          is sized to its natural/default size, rather than the
          sprite's size
      */
      public function stretchResource( xory:String ):void {
          trace("stretchResource resourceObj=",this.resourceObj);
          if ( xory == null || xory == "x" || xory=="width" || xory=="both" ){
              this._setrescwidth = true;
          }
