 
 import mx.managers.PopUpManager;
 
-import mx.utils.ObjectUtil;
-
-import flexlib.controls.ScrollableArrowMenu;
-
 import com.threerings.util.CommandEvent;
 
 import com.threerings.flex.PopUpUtil;

            y = y - getExplicitOrMeasuredHeight();
        }

        PopUpUtil.fitInRect(this, _fitting || screen);
    }

    /** 

 * ];
 *
 * See "Defining menu structure and data" in the Flex manual for the full list.
 *
 * CommandMenu is scrollable.  This can be forced by setting verticalScrollPolicy to 
 * ScrollPolicy.AUTO or ScrollPolicy.ON and setting the maxHeight.  Also, if the scrolling isn't
 * forced on, but the menu does not fit within the vertical bounds given (either the stage size by
 * default, or the height of the rectangle given in setBounds()), scrolling will be turned on
 * so that none of the content is lost.
 *
 * Note: we don't extend flexlib's ScrollableMenu (or its sub-class ScrollableArrowMenu) because it
 * does some weird stuff in measure() that forces some of our menus down to a very small height...
 */
public class CommandMenu extends Menu
{
