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.
Nagaraj Devendhiran
Points:0
Posts:0

5/26/2011 7:08:42 AM

Title: Flex set Focus


how to set the cursor in the TextInput automatically when the application is started without clicking in the screen or text Input box(like when google page is loaded then the cursor is come automatically into the search box) ?



1
Brad
Points: 750
Posts:0
5/26/2011 11:08:43 AM



use "Selection.setFocus(myTextBox); " on applicationComplete handler if using flex or use this in first frame in case using falsh CS

2
zhanglog
Points: 0
Posts:0
6/1/2011 12:06:48 AM






				if(focusManager)
				{
					focusManager.setFocus();
				}

and make sure that focusManger is not null


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 5+3 



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