 //        }
 //    }
 
-    override protected function adjustFocusRect (obj :DisplayObject = null) :void
-    {
-        super.adjustFocusRect(obj);
-
-        // TODO: this is probably all wrong
-        var focusObj :IFlexDisplayObject =
-            IFlexDisplayObject(mx_internal::getFocusObject());
-        if (focusObj) {
-            var r :Rectangle = transform.pixelBounds;
-            focusObj.setActualSize(r.width - 2, r.height - 2);
-            focusObj.move(0, 0);
-
-            if (focusObj is IInvalidating) {
-                IInvalidating(focusObj).validateNow();
-
-            } else if (focusObj is ProgrammaticSkin) {
-                ProgrammaticSkin(focusObj).validateNow();
-            }
-        }
-    }
+//    override protected function adjustFocusRect (obj :DisplayObject = null) :void
+//    {
+//        super.adjustFocusRect(obj);
+//
+//        // TODO: this is probably all wrong
+//        var focusObj :IFlexDisplayObject =
+//            IFlexDisplayObject(mx_internal::getFocusObject());
+//        if (focusObj) {
+//            var r :Rectangle = transform.pixelBounds;
+//            focusObj.setActualSize(r.width - 2, r.height - 2);
+//            focusObj.move(0, 0);
+//
+//            if (focusObj is IInvalidating) {
+//                IInvalidating(focusObj).validateNow();
+//
+//            } else if (focusObj is ProgrammaticSkin) {
+//                ProgrammaticSkin(focusObj).validateNow();
+//            }
+//        }
+//    }
 
     protected var _game :MediaContainer;
+
+    protected var _keyGrabber :TextField;
 }
 }

//    damn thing doesn't seem to grip onto the focus.
// 
public class GameContainer extends VBox
    implements IFocusManagerComponent
{
    public function GameContainer (url :String)
    {
        rawChildren.addChild(_game = new MediaContainer(url));

        tabEnabled = true; // turned off by Container


import flash.geom.Rectangle;

import flash.text.TextField;

import mx.core.mx_internal;
import mx.core.IFlexDisplayObject;
import mx.core.IInvalidating;

import mx.containers.VBox;

import com.threerings.flash.MediaContainer;

