|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I just started playing with flash. I designed a stadard username / pass entry box conected to php:
--------------------------- Username | | --------------------------- --------------------------- Password | | --------------------------- The two things that I can not figure out are: 1. When I enter data into the first box and hit <TAB> It only highlights the next box it does not let me enter text without clicking in the box. 2. I cannot find any text that enters the password as stars. Is the a way of doing this in flash? Any help is appreciated. Thanks, Neal |
|
#2
|
|||
|
|||
|
Problem n° 1 :
Selection.setFocus(my_first_field); // tab's management var i=0 ; i++ my_first_field.tabIndex = i ; i++; my_second_field.tabIndex = i ; i++; and_so_end_field.tabIndex = i ; Problem n° 2 : In the text field property window, you can choose : 'password' and if you do that , only stars appear. answer me if this help you. (I dont well understand english) Good luke ![]() |
|
#3
|
|||
|
|||
|
The second one worked great. Thank you.
I don't quite understand the first on though. Is the code exactly like it should be entered? and where do I put it Under the frame or one button or both? Are the names of my button the instance name or the var name? Thanks for your help, Neal |
|
#4
|
|||
|
|||
|
and Under the frame or one button or both?
Thanks for your help, Is the code exactly like it should be entered? ->The code is exactly the same ,except the variables's names . where do I put it ? ->I already put this kind of code (with a stop() after). in the first frame of the clip where was my text instance. Are the names of my button the instance name or the var name? ->It's the text instance's name. NB: I never use the var name of a text-field in my programm, I prefer use the instance's name. example : my_text_occurence.text = "hello" ; // and not : my_text_var_name = "hello" ; ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Flash form for loging in (easy) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|