      */
     protected function configureMask (ww :int, hh :int) :void
     {
-//        var mask :Shape;
-//        if (_media.mask != null) {
-//            mask = (_media.mask as Shape);
-//
-//        } else {
-//            mask = new Shape();
-//            // the mask must be added to the display list (which is wacky)
-//            rawChildren.addChild(mask);
-//            _media.mask = mask;
-//        }
-//
-//        mask.graphics.clear();
-//        mask.graphics.beginFill(0xFFFFFF);
-//        mask.graphics.drawRect(0, 0, ww, hh);
-//        mask.graphics.endFill();
+        var mask :Shape;
+        if (_media.mask != null) {
+            mask = (_media.mask as Shape);
+
+        } else {
+            mask = new Shape();
+            // the mask must be added to the display list (which is wacky)
+            rawChildren.addChild(mask);
+            _media.mask = mask;
+        }
+
+        mask.graphics.clear();
+        mask.graphics.beginFill(0xFFFFFF);
+        mask.graphics.drawRect(0, 0, ww, hh);
+        mask.graphics.endFill();
     }
 
     /**

        info.addEventListener(ProgressEvent.PROGRESS, loadProgress);

        // create a mask to prevent the media from drawing out of bounds
        if (maxContentWidth < int.MAX_VALUE &&
                maxContentHeight < int.MAX_VALUE) {
            configureMask(maxContentWidth, maxContentHeight);
        }

        // start it loading, add it as a child

    /**
     * Get the width of the content, bounded by the maximum.
     */
    public function getContentWidth () :int
    {
        return Math.min(Math.abs(_w * getMediaScaleX()), getMaxContentWidth());
    }

    /**
     * Get the height of the content, bounded by the maximum.
     */
    public function getContentHeight () :int
    {
        return Math.min(Math.abs(_h * getMediaScaleY()), getMaxContentHeight());
    }

    /**
     * Get the maximum allowable width for our content.
     */
    public function getMaxContentWidth () :int
    {
        return int.MAX_VALUE;
    }
