             }
         } else {
             // embed the scale in _disp
-            var wrapper:DisplayObject = _disp.getChildAt(0);
+            var wrapper :DisplayObject = _disp.getChildAt(0);
             wrapper.scaleX = wrapper.scaleY = value;
             _scale = 1;
             // recalculate size since _disp has changed

        _treatAsFiltered = hasPotentiallySizeAlteringFilters(disp);
        setScale(scale);
    }
    
    // scale can be changed after creation, if desired
    public function setScale(value:Number):void
    {
        // To compensate for the fact that filters don't "scale", do the following
        // if filtered:
        //    render at scale 1
        //    then scale bitmapData to target size

    public function toBitmapData (borderPadding :int = 0) :BitmapData {
        // render with vector renderer
        var bmd :BitmapData = new BitmapData(Math.ceil(_w), Math.ceil(_h), true, 0x00);
        const m :Matrix = new Matrix();
        m.translate(_origin.x, _origin.y);
        bmd.drawWithQuality(_disp, m, null, null, null, true, this.quality);

