header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
vijay
Points:0
Posts:0

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






1
Ronald
Points: 430
Posts:0
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();

2
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()
}
}



Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 6+7 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions