0
Adobe Air에서 TexInput 컨트롤의 tabindex를 Tab 키로 올바르게 설정했습니다. 이제는 엔터 키를 사용하여 동일한 작업을 수행하려고합니다. TextInput에서 enter 키를 누르면 다음 컨트롤을 선택해야합니다.As3 입력 키가 탭으로 작동해야합니다.
C#에서 우리는 SendKeys를 사용하여 동일한 작업을 수행 할 수 있으며 Adobe에서 알고있는대로 Adobe Air에서는 그렇게 할 수 없습니다. 여기
내 추가 된 이벤트// get key presses only when the textfield is being edited
inputText.addEventListener(KeyboardEvent.KEY_DOWN,handler);
function handler(event:KeyboardEvent){
// if the key is ENTER
if(event.charCode == 13){
// WHAT ???
}
}