focusManager not working

Hello,

I have some code and what it is doing is making both text fields wider. I would like the first one to be wider but only the second one to get wider when focused on…


focusManager.setFocus(clientIDtxt)
onEnterFrame = function () {
	if (focusManager.getFocus() == clientIDtxt) {
		clientID._width = 130;
	}
	if (focusManager.getFocus() == clientPSWtxt) {
		clientPSW._width = 130;
	}
};

ive tried MM tut’s and searched kirupa/google… no luck.

Anyone have any suggestions?

~ Lacuna aka Seretha :love: