focusManager

i was using focus manager fine when my movie was standalone, now that it’s loaded into a container on _root, i get undefined when i try to trace out the current focus.

this codes worked originally:

keyListener = new Object();

keyListener.onKeyDown = function()
{
	var keyCode = Key.getCode();
	if(keyCode == 9)
	{
		trace("keyCode: "+keyCode);
		clipHit = _root.focusManager.getFocus();
		trace("clipHit: "+clipHit);
		trace("clipHit._parent.ind: "+clipHit._parent.ind);
		if(clipHit._parent.ind == laLength-1)
		{ 
		_root.focusManager.setFocus(inp0.inputText);
		}else{

in that you could trace out “clipHit” from _root.focusManager.getFocus(); I guess i assumed that focusManager would not be affected by scope, but obviously it is! I tried changing _root.focusManager to _root.myContainerClip.focusManager, but to no avail! help!!!