Hi,

use set fouse  for text ,

sample_txt.onSetFocus = sample1_txt.onSetFocus = function ()
{
   this.border = true;
   this.borderColor = 13683368;
   this.background = true;
   this.backgroundColor = 13683368;
};
sample_txt.onKillFocus = sample1_txt.onKillFocus = function ()
{
   this.border = true;
   this.borderColor = 0;
   this.background = true;
   this.backgroundColor = 0;
};


Regards amol





----- Original Message ----- From: "Karl DeSaulniers" <k...@designdrumm.com>
To: "Flash List" <flashcoders@chattyfig.figleaf.com>
Sent: Tuesday, June 15, 2010 9:51 AM
Subject: [Flashcoders] Text area focus


Hello,
I have a text box or area on a form that I would like to know when a user has put the cursor in it or not. Wither it has focus or not. I am working in AS2. Please don't grit your teeth too much :-)
For some reason I am not able to get the focus of my text area.

Anyone have this code in their scrap files?.. lol
TIA

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to