# Selected field

**URL:** <https://forum.kirupa.com/t/selected-field/173686>\
**Category:** Uncategorized\
**Created:** [December 28, 2005, 5:13pm UTC](https://forum.kirupa.com/t/selected-field/173686 "2005-12-28T17:13:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Multi\_Task](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@Multi\_Task](https://forum.kirupa.com/u/Multi_Task)\
**Post date:** [December 28, 2005, 5:13pm UTC](https://forum.kirupa.com/t/selected-field/173686/1 "2005-12-28T17:13:34Z")

</div>

I made an email form that works flawlessly yay! And I added a little spice to make it interesting however when i added it, it took away the ability to click on field to type in information. You can only go through fields using TAB. The spice I added was when users type information into the fields it appears all over the screen different sizes and fades out. This took away the ability to click on a field as soon as the keyboard is pressed. Is there anyway to re enable?  
Here is my example:

[http://http://www.narrativerecordings.com/form2.swf](http://http://www.narrativerecordings.com/form2.swf)

Any help would be appreciated.

Here is mi code:  
var kl:Object = new Object();  
kl.onKeyUp = function() {  
var t = \_root.attachMovie(“lc”,“lc”+\_root.getNextHighestDepth,\_root.getNextHighestDepth());  
t.\_x = Math.random()\*500;  
t.\_y = Math.random()\*400;  
t.\_xscale = t.\_yscale = Math.random()\*500+90;  
t.onEnterFrame = function() {  
this.\_alpha -= 7;  
if(this.\_alpha \< 1) {  
this.removeMovieClip();  
}  
}  
t.theLetter.text = String.fromCharCode(Key.getAscii());  
}  
Key.addListener(kl);  
Selection.setFocus(fname);  
\_global.style.setStyle(“themeColor”, “haloBlue”);  
\_global.style.setStyle(“fontFamily”, “tahoma”);  
fname.tabIndex = 1;  
lname.tabIndex = 2;  
email.tabIndex = 3;  
phone.tabIndex = 4;  
address.tabIndex = 5;  
questionorcomment.tabIndex = 6;  
sender.tabIndex = 7;  
stop();  
var senderLoad:LoadVars = new LoadVars();  
var receiveLoad:LoadVars = new LoadVars();  
sender.onRelease = function() {  
senderLoad.fname = fname.text;  
senderLoad.fname = lname.text;  
senderLoad.fname = email.text;  
senderLoad.fname = phone.text;  
senderLoad.fname = address.text;  
senderLoad.fname = questionorcomment.text;  
senderLoad.sendAndLoad(“form.php”,receiveLoad);  
}
