2016-10-13 33 views

回答

0

1)你有沒有嘗試做一些研究?我搜索了as3 "android" keyboard not showing
上述鏈接的第一頁結果中建議的解決方案有什麼問題?

2)考慮使用Stage text,並且有關於它的介紹article

3)嘗試下面的內容(未經測試)作爲起點。很難修復你的代碼,因爲沒有顯示。

先讀一下guide。可能有用。

var testInput : TextField = new TextField(); 
testInput.needsSoftKeyboard = true; 
testInput.type = "input"; 
testInput.addEventListener(FocusEvent.FOCUS_IN, onFocusText); 

stage.addChild(testInput); 

function onFocusText(e:FocusEvent):void 
{ 
    testInput.requestSoftKeyboard(); 
}