Softkeyboard not opening
Very new to this so I'm sure I am going about this all wrong but I'm testing a real simple app on a samsung galaxy. The softkeyboard doesn't open when i click in a text box while debugging. Here is all the code :
txtA.addEventListener(FocusEvent.FOCUS_IN, textA)
txtB.addEventListener(FocusEvent.FOCUS_IN, textB)
btnOK.addEventListener(MouseEvent.CLICK, textC)
function textA (evt:FocusEvent):void
{
txtA.needsSoftKeyboard = true;
txtA.requestSoftKeyboard();
}
function textB (evt:FocusEvent):void
{
txtB.needsSoftKeyboard = true;
txtB.requestSoftKeyboard();
}
function textC (evt:MouseEvent):void
{
var A:Number = Number(txtA.text);
var B:Number = Number(txtB.text);
var C:Number = A * B;
txtC.text = String(C);
}