5/31/2010 3:02:39 AM
Title:
tab key working
i want to build an application having such that when i enter 1 in text box focus should travel to other text box having label first text box .give me the code
5/31/2010 5:23:30 AM
use on change event in the text box and check the text inside if its equl to 1 then move the focus to other textbox using otherTextBox.setFocus();
Davis
Points: 780
Posts:0
5/31/2010 7:51:51 AM
// call this function on change event of your textBox (Flex, Actionscript 3.0)
private function onChangeText(evt:Event):void{
if(text1.text==1){
text2.setFocus()
}
}