This content has been marked as final.
Show 5 replies
-
1. Re: How to add one symbol in between the user give input.
moccamaximum Sep 27, 2013 1:48 AM (in response to ramviswa123)with a textInputField "tf" on stage:
import flash.events.TextEvent;
tf.addEventListener(TextEvent.TEXT_INPUT, tfHandler);
function tfHandler(e:TextEvent):void{
trace(e.target.text.length);
if(e.target.text.length == 2){
e.target.appendText("-");
}
}
-
2. Re: How to add one symbol in between the user give input.
ramviswa123 Sep 27, 2013 3:26 AM (in response to moccamaximum)Thank you. It working perfectly.
-
3. Re: How to add one symbol in between the user give input.
ramviswa123 Sep 30, 2013 2:10 AM (in response to moccamaximum)Hi,
Please tell how to do the same in Action Script 2.0.
-
4. Re: How to add one symbol in between the user give input.
moccamaximum Sep 30, 2013 2:14 AM (in response to ramviswa123)Haven`t used AS2 in years, sorry.
Consider moving the Question to the AS2 section.
-
5. Re: How to add one symbol in between the user give input.
ramviswa123 Sep 30, 2013 2:21 AM (in response to moccamaximum)ok. Thanks.

