     public function getMediaContainer () :MediaContainer
     {
         return _game;
+    }
+
+    override public function setActualSize (w :Number, h :Number) :void
+    {
+        super.setActualSize(w, h);
+        _keyGrabber.width = w;
+        _keyGrabber.height = h;
     }
 
 //    override public function setFocus () :void


import flash.geom.Rectangle;

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

import mx.containers.VBox;

import mx.managers.IFocusManagerComponent;

import mx.skins.ProgrammaticSkin;

import com.threerings.flash.MediaContainer;


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

        tabEnabled = true; // turned off by Container
