getNextFocusManagerComponent() does not return previous component in Flex
I encounter problems while trying to employ focusManager.getNextFocusManagerComponent method. This method awaits optional argument, as follows:
x.managers.IFocusManager.getNextFocusManagerComponent(backward:Boolean=false):IFocusManagerComponent
The problem is that no matter if i put true or false, the function always returns the reference to the next component in the focus loop - passing true I expected it to return the previous component.
var prev:Object = focusManager.getNextFocusManagerComponent(true);
va开发者_开发知识库r next:Object = focusManager.getNextFocusManagerComponent(false);
// next == prev
I use Flex SDK 3.3.
Thank you for any ideas.
Rafal
加载中,请稍侯......
精彩评论